| 1 | # Description: Ext2 Filesystem Utilities |
| 2 | # URL: http://e2fsprogs.sourceforge.net/ |
| 3 | # Maintainer: CRUX System Team, core-ports at crux dot nu |
| 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 5 | # Depends on: util-linux-ng |
| 6 | |
| 7 | name=e2fsprogs |
| 8 | version=1.42.5 |
| 9 | release=1 |
| 10 | source=(http://downloads.sourceforge.net/project/$name/$name/v$version/$name-$version.tar.gz) |
| 11 | |
| 12 | build() { |
| 13 | cd $name-$version |
| 14 | |
| 15 | ./configure --build=$CHOST \ |
| 16 | --host=$CTARGET \ |
| 17 | --prefix=/usr \ |
| 18 | --with-root-prefix= \ |
| 19 | --mandir=/usr/man \ |
| 20 | --enable-symlink-install \ |
| 21 | --enable-elf-shlibs \ |
| 22 | --disable-e2initrd-helper \ |
| 23 | --disable-nls \ |
| 24 | --disable-fsck \ |
| 25 | --disable-libblkid \ |
| 26 | --disable-libuuid \ |
| 27 | --disable-uuidd |
| 28 | |
| 29 | make |
| 30 | make -j1 DESTDIR=$PKG install install-libs |
| 31 | |
| 32 | # quota support is disabled by default |
| 33 | rm -r $PKG/usr/include/quota |
| 34 | rm $PKG/usr/lib/{libquota.a,pkgconfig/quota.pc} |
| 35 | |
| 36 | rm -r $PKG/usr/share/info |
| 37 | |
| 38 | chmod +w -R $PKG |
| 39 | } |