3 export LDFLAGS="$LDFLAGS -static"
9 --enable-symlink-install \
17 # MKDIR_P fixes an install issue on musl/busybox.
19 make MKDIR_P="install -d" DESTDIR="$1" install
21 # Our e2fsprogs build uses the private libblkid
22 # and libuuid libraries which ship with it.
24 # It is then built statically which allows us to
25 # remove the libraries entirely.
27 # This is all done to remove the util-linux
28 # dependency from this package.
30 # The build system doesn't provide a target
31 # for this so we must do it ourselves.
34 "$1/usr/bin/uuidgen" \
36 "$1/usr/share/man/man8/findfs.8" \
37 "$1/usr/share/man/man8/blkid.8" \
38 "$1/usr/share/man/man3/libblkid.3" \
39 "$1/usr/share/man/man3/"uuid* \
40 "$1/usr/share/man/man1/uuidgen.1" \
41 "$1/usr/lib/pkgconfig/uuid.pc" \
42 "$1/usr/lib/pkgconfig/blkid.pc" \
43 "$1/usr/lib/libuuid.a" \
44 "$1/usr/lib/libblkid.a" \
45 "$1/usr/include/blkid" \