blob: ee3b311d2fa8dad340b46d90a9edf2d65a8d47c6 (
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
|
#!/bin/bash
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
}
|