From cb447620084a20be80d116c81c2e9ec110be7118 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 01:23:51 +0000 Subject: restructured repo system --- repo/util/e2fsprogs.xibuild | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 repo/util/e2fsprogs.xibuild (limited to 'repo/util/e2fsprogs.xibuild') 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 +} -- cgit v1.2.1