| 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, crux-arm at mikeux dot dyndns dot org |
| 5 | # Depends on: util-linux-ng |
| 6 | |
| 7 | name=e2fsprogs |
| 8 | version=1.41.9 |
| 9 | release=1 |
| 10 | source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz \ |
| 11 | $name-symlink.patch) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-$version |
| 15 | patch -p1 -i $SRC/$name-symlink.patch |
| 16 | |
| 17 | ./configure --build=$CHOST \ |
| 18 | --host=$CTARGET \ |
| 19 | --prefix=/usr \ |
| 20 | --with-root-prefix= \ |
| 21 | --mandir=/usr/man \ |
| 22 | --enable-elf-shlibs \ |
| 23 | --disable-debugfs \ |
| 24 | --disable-imager \ |
| 25 | --disable-e2initrd-helper \ |
| 26 | --disable-evms \ |
| 27 | --disable-nls |
| 28 | |
| 29 | make |
| 30 | make DESTDIR=$PKG install install-libs |
| 31 | rm -r $PKG/usr/share/info |
| 32 | chmod +w -R $PKG |
| 33 | } |