blob: 59c6c2b8470f5e42a086aed5f2662f81ce9dc4bc (
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"
rm -rf "$1/usr/sbin"
 |