summaryrefslogtreecommitdiff
path: root/repo/util/e2fsprogs.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 01:23:51 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 01:23:51 +0000
commitcb447620084a20be80d116c81c2e9ec110be7118 (patch)
tree9fc0d714abbb5c6326b60616a5fd27ec9f984895 /repo/util/e2fsprogs.xibuild
parent153011e9129c6055ef21c48caf65a23e74a91418 (diff)
restructured repo system
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
+}