diff options
author | Lukc <lukc@upyum.com> | 2010-12-12 20:49:30 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-12 20:49:30 +0100 |
commit | 47ce3695fc5760e9ad53b6084ce15b91fdc97975 (patch) | |
tree | 42a919221ae491dfa29a07e4fd56f8b7fb4e2dca /xfsprogs/Pkgfile | |
parent | 7471d6b997b9a41ad5dea38c56b0fe2c64472e23 (diff) | |
download | base-47ce3695fc5760e9ad53b6084ce15b91fdc97975.tar.gz base-47ce3695fc5760e9ad53b6084ce15b91fdc97975.tar.bz2 base-47ce3695fc5760e9ad53b6084ce15b91fdc97975.tar.xz base-47ce3695fc5760e9ad53b6084ce15b91fdc97975.zip |
Recette de xfsprogs mise à jour.
Diffstat (limited to 'xfsprogs/Pkgfile')
-rw-r--r-- | xfsprogs/Pkgfile | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/xfsprogs/Pkgfile b/xfsprogs/Pkgfile index df7de72..d4bf142 100644 --- a/xfsprogs/Pkgfile +++ b/xfsprogs/Pkgfile @@ -1,22 +1,29 @@ -description="Filesystem utilities for XFS" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="Filesystem utilities for XFS." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" url="http://oss.sgi.com/projects/xfs/" depends=(util-linux-ng) name=xfsprogs version=3.1.4 release=1 -source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs-3.1.4.tar.gz) +source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/$name-$version.tar.gz) build () -{ - cd $name-$version; - export DEBUG=-DNDEBUG; - export OPTIMIZER=$CFLAGS; - ./configure --prefix=/usr --mandir=/usr/man --disable-gettext; - make; - make DIST_ROOT=$PKG install install-dev; - rm $PKG/lib/libhandle.{a,la,so}; - ln -sf ../../lib/libhandle.so.1.0.3 $PKG/usr/lib/libhandle.so; - rm -r $PKG/usr/share +{ + if use nls; then + opts=(--enable-gettext) + else + opts=(--disable-gettext) + fi + cd $name-$version; + export DEBUG=-DNDEBUG; + export OPTIMIZER=$CFLAGS; + ./configure \ + --prefix=$prefix \ + --mandir=$mandir \ + ${opts[@]}; + make; + make DIST_ROOT=$PKG install install-dev; + rm $PKG/lib/libhandle.{a,la,so}; + ln -sf ../../lib/libhandle.so.1.0.3 $PKG$prefix/lib/libhandle.so; } |