2019-06-21 05:55:39 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2020-02-08 20:14:02 +00:00
|
|
|
export LDFLAGS="$LDFLAGS -static"
|
|
|
|
|
2019-06-21 05:55:39 +00:00
|
|
|
./configure \
|
2019-07-07 01:28:15 +00:00
|
|
|
--prefix=/usr \
|
2019-07-17 13:40:01 +00:00
|
|
|
--sbindir=/usr/bin \
|
|
|
|
--sysconfdir=/etc \
|
2019-06-21 05:55:39 +00:00
|
|
|
--enable-symlink-install \
|
2020-02-08 20:14:02 +00:00
|
|
|
--enable-libuuid \
|
|
|
|
--enable-libblkid \
|
2024-06-03 17:37:33 +00:00
|
|
|
--disable-fuse2fs \
|
2020-02-18 18:18:35 +00:00
|
|
|
--disable-nls \
|
2019-06-21 06:37:23 +00:00
|
|
|
--disable-uuidd \
|
2020-02-08 20:14:02 +00:00
|
|
|
--disable-fsck \
|
|
|
|
--disable-elf-shlibs
|
2019-06-21 05:55:39 +00:00
|
|
|
|
|
|
|
make
|
|
|
|
|
2021-07-05 22:22:57 +00:00
|
|
|
set -- \
|
2023-03-02 14:40:00 +00:00
|
|
|
DESTDIR="$1" \
|
2021-07-05 22:22:57 +00:00
|
|
|
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
|