24 lines
450 B
Plaintext
24 lines
450 B
Plaintext
|
#!/bin/sh -e
|
||
|
|
||
|
./configure \
|
||
|
--prefix=/usr \
|
||
|
--localstatedir=/var \
|
||
|
--bindir=/usr/bin \
|
||
|
--sbindir=/usr/bin \
|
||
|
--libdir=/usr/lib \
|
||
|
--enable-libuuid \
|
||
|
--enable-libblkid \
|
||
|
--disable-makeinstall-chown \
|
||
|
--disable-rpath \
|
||
|
--without-udev \
|
||
|
--without-python \
|
||
|
--without-systemd \
|
||
|
--disable-more
|
||
|
|
||
|
make
|
||
|
make DESTDIR="$1" install
|
||
|
|
||
|
# Fix broken --sbindir.
|
||
|
mv -f "$1/usr/sbin/"* "$1/usr/bin"
|
||
|
rmdir "$1/usr/sbin"
|