summaryrefslogtreecommitdiff
path: root/repo/core/e2fsprogs.xibuild
blob: 9568fdf07d860f90d1ebca61d981514fd5225e31 (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)

SOURCE=https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.46.4/e2fsprogs-1.46.4.tar.xz
DESC="GNU's awk"

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
}