repo/core/util-linux/build
2019-07-19 16:48:32 +03:00

24 lines
466 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--localstatedir=/var \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--libdir=/usr/lib \
--disable-nls \
--enable-libuuid \
--enable-libblkid \
--enable-fsck \
--disable-makeinstall-chown \
--disable-rpath \
--without-udev \
--without-python \
--without-systemd
make
make DESTDIR="$1" install
# Remove 'getopt' as it is provided by 'busybox'.
rm -f "$1/usr/bin/getopt"