2019-06-20 23:55:39 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2020-02-08 13:14:02 -07:00
|
|
|
export LDFLAGS="$LDFLAGS -static"
|
|
|
|
|
2019-06-20 23:55:39 -06:00
|
|
|
./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 \
|
2020-02-08 13:14:02 -07:00
|
|
|
--enable-libuuid \
|
|
|
|
--enable-libblkid \
|
2020-02-18 11:18:35 -07:00
|
|
|
--disable-nls \
|
2019-06-21 00:37:23 -06:00
|
|
|
--disable-uuidd \
|
2020-02-08 13:14:02 -07:00
|
|
|
--disable-fsck \
|
|
|
|
--disable-elf-shlibs
|
2019-06-20 23:55:39 -06:00
|
|
|
|
|
|
|
make
|
|
|
|
|
2021-07-05 16:22:57 -06:00
|
|
|
dest=$1
|
|
|
|
|
|
|
|
set -- \
|
|
|
|
DESTDIR="$dest" \
|
|
|
|
MKDIR_P="mkdir -p" \
|
|
|
|
BLKID_MAN="" \
|
|
|
|
BLKID_PROG="" \
|
|
|
|
FINDFS_LINK="" \
|
|
|
|
FINDFS_MAN="" \
|
|
|
|
UMANPAGES="chattr.1 lsattr.1" \
|
|
|
|
UPROGS="chattr lsattr"
|
|
|
|
|
|
|
|
for p in \
|
|
|
|
debugfs \
|
|
|
|
e2fsck \
|
|
|
|
lib/e2p \
|
|
|
|
lib/et \
|
|
|
|
lib/ext2fs \
|
|
|
|
lib/ss \
|
|
|
|
misc \
|
|
|
|
resize \
|
|
|
|
scrub
|
|
|
|
do
|
|
|
|
make -C "$p" "$@" install
|
|
|
|
done
|