summaryrefslogtreecommitdiff
path: root/repo/e2fsprogs
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/e2fsprogs
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/e2fsprogs')
-rw-r--r--repo/e2fsprogs/e2fsprogs.xibuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/repo/e2fsprogs/e2fsprogs.xibuild b/repo/e2fsprogs/e2fsprogs.xibuild
new file mode 100644
index 0000000..641d5ff
--- /dev/null
+++ b/repo/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
+}