2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 08:40:10 -07:00
repo/extra/e2fsprogs/build
2023-03-05 17:34:06 -06:00

42 lines
669 B
Bash
Executable File

#!/bin/sh -e
export LDFLAGS="$LDFLAGS -static"
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--enable-symlink-install \
--enable-libuuid \
--enable-libblkid \
--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