blob: 94ddc2b697ae454aae8e465ebb9a747148bc97a2 (
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
|
#!/bin/bash
MAKEDEPS=(make )
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"
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
}
|