blob: e717cf8f85bdcda12febf7063a9c90c38124b036 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/bin/bash
MAKEDEPS=(make )
# TODO requires util-linux-libs
DEPS=(sh )
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"
build () {
mkdir -v 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 -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
}
|