From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- repo/util/e2fsprogs/e2fsprogs.xibuild | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 repo/util/e2fsprogs/e2fsprogs.xibuild (limited to 'repo/util/e2fsprogs/e2fsprogs.xibuild') diff --git a/repo/util/e2fsprogs/e2fsprogs.xibuild b/repo/util/e2fsprogs/e2fsprogs.xibuild new file mode 100644 index 0000000..641d5ff --- /dev/null +++ b/repo/util/e2fsprogs/e2fsprogs.xibuild @@ -0,0 +1,38 @@ +#!/bin/sh + +MAKEDEPS="make gzip" +# TODO requires util-linux-libs +DEPS="sh util-linux" + +PKG_VER=1.46.4 +SOURCE=https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v$PKG_VER/e2fsprogs-$PKG_VER.tar.xz +DESC="Ext2/3/4 filesystem utils" + +prepare () { + # use system's install command + rm config/install-sh + ln -s /usr/bin/install config/install-sh +} + +build () { + mkdir build + cd build + ../configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-elf-shlibs \ + --disable-libblkid \ + --disable-libuuid \ + --disable-uuidd \ + --disable-fsck + make +} + +package () { + make DESTDIR=$PKG_DEST install + rm -f $PKG_DEST/usr/lib/libcom_err.a + rm -f $PKG_DEST/usr/lib/libe2p.a + rm -f $PKG_DEST/usr/lib/libext2fs.a + rm -f $PKG_DEST/usr/lib/libss.a + gunzip $PKG_DEST/usr/share/info/libext2fs.info.gz + install-info --dir-file=$PKG_DEST/usr/share/info/dir $PKG_DEST/usr/share/info/libext2fs.info +} -- cgit v1.2.1