2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-16 03:30:23 -07:00
repo/extra/util-linux/build

24 lines
449 B
Plaintext
Raw Normal View History

2019-07-06 11:05:49 -06:00
#!/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
2020-02-10 13:50:44 -07:00
# Fix broken --sbindir.
mv -f "$1/usr/sbin/"* "$1/usr/bin"
rmdir "$1/usr/sbin"