From 518dc5e6999adc4933a97e46d2c8dd54be9f5343 Mon Sep 17 00:00:00 2001 From: Lukc Date: Tue, 21 Dec 2010 04:56:38 +0100 Subject: Mise à jour de la recette de diffutils. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- diffutils/Pkgfile | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'diffutils/Pkgfile') 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 " +maintainer="Lukc " 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; } -- cgit v1.2.3-70-g09d2