aboutsummaryrefslogtreecommitdiff
path: root/core/util-linux/build
blob: 721b31df3fe108dae2a999799965a6dd5a7188a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh -e

./configure \
    --prefix=/usr \
    --localstatedir=/var \
    --bindir=/usr/bin \
    --sbindir=/usr/bin \
    --libdir=/usr/lib \
    --enable-libuuid \
    --enable-libblkid \
    --enable-fsck \
    --disable-makeinstall-chown \
    --disable-rpath \
    --without-udev \
    --without-python \
    --without-systemd

make
make DESTDIR="$1" install

# For some reason util-linux installs
# to the sbindir even when we tell it
# not to.
mv "$1/usr/sbin/"* "$1/usr/bin"
rmdir "$1/usr/sbin"