diff options
author | Lukc <lukc@upyum.com> | 2010-12-21 04:56:38 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-21 04:56:38 +0100 |
commit | 518dc5e6999adc4933a97e46d2c8dd54be9f5343 (patch) | |
tree | d9c18cc9d6c5ea6245c88a943c63b75e5d546da3 /diffutils/Pkgfile | |
parent | 93c2fd33f4fd2ac953217e398f11ebe1ddfab7ea (diff) | |
download | base-518dc5e6999adc4933a97e46d2c8dd54be9f5343.tar.gz base-518dc5e6999adc4933a97e46d2c8dd54be9f5343.tar.bz2 base-518dc5e6999adc4933a97e46d2c8dd54be9f5343.tar.xz base-518dc5e6999adc4933a97e46d2c8dd54be9f5343.zip |
Mise à jour de la recette de diffutils.
Diffstat (limited to 'diffutils/Pkgfile')
-rw-r--r-- | diffutils/Pkgfile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/diffutils/Pkgfile b/diffutils/Pkgfile index 4a6c7aa..e7a0b9f 100644 --- a/diffutils/Pkgfile +++ b/diffutils/Pkgfile @@ -1,18 +1,22 @@ -description="Package with the GNU diff, diff3, sdiff, and cmp utilities" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="Package with the GNU diff, diff3, sdiff, and cmp utilities." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" url="http://www.gnu.org/software/diffutils/" depends=() name=diffutils version=3.0 release=1 -source=(http://ftp.gnu.org/gnu/diffutils/diffutils-3.0.tar.xz) +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) build () { - cd $name-$version; - ./configure --prefix=/usr --mandir=/usr/man --disable-nls; - make; - make DESTDIR=$PKG install; - rm -r $PKG/usr/share + cd $name-$version; + ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ + --prefix=$prefix \ + --mandir=$mandir \ + $(use_enable nls); + make; + make DESTDIR=$PKG install; } |