2019-06-20 23:55:39 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
./configure \
|
2019-07-06 19:28:15 -06:00
|
|
|
--prefix=/usr \
|
2019-07-17 07:40:01 -06:00
|
|
|
--sbindir=/usr/bin \
|
|
|
|
--sysconfdir=/etc \
|
2019-06-20 23:55:39 -06:00
|
|
|
--enable-symlink-install \
|
2019-06-21 00:37:23 -06:00
|
|
|
--disable-uuidd \
|
2019-07-06 19:28:15 -06:00
|
|
|
--disable-libuuid \
|
|
|
|
--disable-libblkid \
|
2019-06-21 00:26:07 -06:00
|
|
|
--disable-elf-shlibs \
|
2019-06-20 23:55:39 -06:00
|
|
|
--disable-fsck \
|
|
|
|
--disable-nls
|
|
|
|
|
2019-06-21 00:26:07 -06:00
|
|
|
# MKDIR_P fixes an install issue on musl/busybox.
|
2019-06-20 23:55:39 -06:00
|
|
|
make
|
2019-06-21 00:26:07 -06:00
|
|
|
make MKDIR_P="install -d" DESTDIR="$1" install install-libs
|
2019-06-20 23:55:39 -06:00
|
|
|
|
2019-08-29 04:49:36 -06:00
|
|
|
# Make static libraries writable.
|
|
|
|
chmod -v u+w "$1/usr/lib/"*.a
|
|
|
|
|
2019-06-20 23:55:39 -06:00
|
|
|
# Remove all info files.
|
|
|
|
rm -rf "$1/usr/share/info"
|