summaryrefslogtreecommitdiff
path: root/repo/core/e2fsprogs.xibuild
diff options
context:
space:
mode:
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
+}