2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 14:50:07 -07:00
repo/extra/e2fsprogs/build
2024-06-07 19:52:26 -05:00

44 lines
735 B
Bash
Executable File

#!/bin/sh -e
export LDFLAGS="$LDFLAGS -static"
./configure \
CPPFLAGS="$CPPFLAGS -DHAVE_LSEEK64" \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--enable-symlink-install \
--enable-libuuid \
--enable-libblkid \
--disable-fuse2fs \
--disable-nls \
--disable-uuidd \
--disable-fsck \
--disable-elf-shlibs
make
set -- \
DESTDIR="$1" \
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