summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-21 05:00:52 +0100
committerLukc <lukc@upyum.com>2010-12-21 05:00:52 +0100
commit860842f606309455350044bf4c96ac7cf608b31a (patch)
tree56387c2e63f966f41d9592f5121542f97d74f23a
parent518dc5e6999adc4933a97e46d2c8dd54be9f5343 (diff)
downloadbase-860842f606309455350044bf4c96ac7cf608b31a.tar.gz
base-860842f606309455350044bf4c96ac7cf608b31a.tar.bz2
base-860842f606309455350044bf4c96ac7cf608b31a.tar.xz
base-860842f606309455350044bf4c96ac7cf608b31a.zip
Recette de e2fsprogs mise à jour.
-rw-r--r--e2fsprogs/Pkgfile35
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
}