summaryrefslogtreecommitdiff
path: root/repo/util/e2fsprogs.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/util/e2fsprogs.xibuild')
-rw-r--r--repo/util/e2fsprogs.xibuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/util/e2fsprogs.xibuild b/repo/util/e2fsprogs.xibuild
new file mode 100644
index 0000000..c2de603
--- /dev/null
+++ b/repo/util/e2fsprogs.xibuild
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+DEPS=(sh util-linux)
+
+SOURCE=https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.46.4/e2fsprogs-1.46.4.tar.xz
+DESC="Ext2/3/4 filesystem utils"
+
+build () {
+ mkdir -v build
+ cd build
+ ../configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-elf-shlibs \
+ --disable-libblkid \
+ --disable-libuuid \
+ --disable-uuidd \
+ --disable-fsck
+ make
+ make DESTDIR=$PKG_DEST install
+}
+
+
+package () {
+ rm -fv $PKG_DEST/usr/lib/{libcom_err,libe2p,libext2fs,libss}.a
+ gunzip -v $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
+}