From 8b08795463166f5ec78d0966e716abcbca8fcf18 Mon Sep 17 00:00:00 2001 From: Lukc Date: Tue, 21 Dec 2010 05:11:25 +0100 Subject: Recette de file mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- file/Pkgfile | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'file/Pkgfile') diff --git a/file/Pkgfile b/file/Pkgfile index 8d4dae9..5538242 100644 --- a/file/Pkgfile +++ b/file/Pkgfile @@ -1,18 +1,23 @@ -description="File type identification utility" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="File type identification utility." +packager="CRUX System Team " +maintainer="Lukc " url="http://www.darwinsys.com/file/" depends=(zlib) name=file version=5.04 release=1 -source=(ftp://ftp.fu-berlin.de/unix/tools/file/file-5.04.tar.gz) +source=(ftp://ftp.fu-berlin.de/unix/tools/$name/$name-$version.tar.gz) build () { - cd $name-$version; - ./configure --prefix=/usr --mandir=/usr/man --enable-fsect-man5; - make; - make DESTDIR=$PKG install; - rmdir $PKG/usr/man/man4 + cd $name-$version; + ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ + --prefix=$prefix \ + --mandir=$mandir \ + --enable-fsect-man5; + make; + make DESTDIR=$PKG install; + rmdir $PKG$mandir/man4 } -- cgit v1.2.3-70-g09d2