2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 15:20:06 -07:00
repo/extra/e2fsprogs/build
2021-07-06 01:22:57 +03:00

44 lines
681 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
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