2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 16:30:04 -07:00
repo/core/e2fsprogs/build

27 lines
654 B
Plaintext
Raw Normal View History

#!/bin/sh -e
export LDFLAGS="$LDFLAGS -static"
./configure \
2019-07-06 19:28:15 -06:00
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--enable-symlink-install \
--enable-libuuid \
--enable-libblkid \
2019-06-21 00:37:23 -06:00
--disable-uuidd \
--disable-fsck \
--disable-elf-shlibs
2019-06-21 00:26:07 -06:00
# MKDIR_P fixes an install issue on musl/busybox.
make
make MKDIR_P="install -d" DESTDIR="$1" install-progs-recursive
# Remove utilities which conflict with util-linux.
rm -f "$1/usr/bin/blkid" \
"$1/usr/bin/uuidgen" \
"$1/usr/bin/findfs" \
"$1/usr/share/man/man8/findfs.8" \
"$1/usr/share/man/man8/blkid.8" \
"$1/usr/share/man/man1/uuidgen.1"