diff options
-rw-r--r-- | e2fsprogs/Pkgfile | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/e2fsprogs/Pkgfile b/e2fsprogs/Pkgfile index 13e59ff..4d9b445 100644 --- a/e2fsprogs/Pkgfile +++ b/e2fsprogs/Pkgfile @@ -1,19 +1,34 @@ -description="Ext2 Filesystem Utilities" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="Ext2 Filesystem Utilities." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" url="http://e2fsprogs.sourceforge.net/" depends=(util-linux-ng) name=e2fsprogs version=1.41.12 release=1 -source=(http://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/1.41.12/e2fsprogs-1.41.12.tar.gz) +source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz) build () { - cd $name-$version; - ./configure --prefix=/usr --with-root-prefix= --mandir=/usr/man --enable-symlink-install --enable-elf-shlibs --disable-e2initrd-helper --disable-nls --disable-fsck --disable-libblkid --disable-libuuid --disable-uuidd; - make; - make -j1 DESTDIR=$PKG install install-libs; - rm -r $PKG/usr/share/info; - chmod +w -R $PKG + cd $name-$version; + ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ + --prefix=$prefix \ + --with-root-prefix= \ + --mandir=$mandir \ + --enable-symlink-install \ + --enable-elf-shlibs \ + --disable-e2initrd-helper \ + $(use_enable nls) \ + --disable-fsck \ + --disable-libblkid \ + --disable-libuuid \ + --disable-uuidd; + make; + make -j1 DESTDIR=$PKG install install-libs; + #if ! use info; then + #rm -r $PKG/usr/share/info; + #fi + chmod +w -R $PKG } |