summaryrefslogtreecommitdiff
path: root/repo/core/e2fsprogs.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-06 23:29:58 +0100
committerdavidovski <david@davidovski.xyz>2021-10-06 23:29:58 +0100
commit7ff38024bec68fe70fb6eec0f5cd16188507558f (patch)
treed9f366b28b7d31ddbe3057669474f58962541a68 /repo/core/e2fsprogs.xibuild
parent76a1447eb1599f23165806b4ead10c5294039d05 (diff)
added all lfs packages
Diffstat (limited to 'repo/core/e2fsprogs.xibuild')
-rw-r--r--repo/core/e2fsprogs.xibuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/core/e2fsprogs.xibuild b/repo/core/e2fsprogs.xibuild
new file mode 100644
index 0000000..9568fdf
--- /dev/null
+++ b/repo/core/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="GNU's awk"
+
+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
+}