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/.footprint | 14 +++++++------- file/Pkgfile | 23 ++++++++++++++--------- 2 files changed, 21 insertions(+), 16 deletions(-) (limited to 'file') diff --git a/file/.footprint b/file/.footprint index bb59eb9..1ea17e7 100644 --- a/file/.footprint +++ b/file/.footprint @@ -9,13 +9,13 @@ drwxr-xr-x root/root usr/lib/ lrwxrwxrwx root/root usr/lib/libmagic.so -> libmagic.so.1.0.0 lrwxrwxrwx root/root usr/lib/libmagic.so.1 -> libmagic.so.1.0.0 -rwxr-xr-x root/root usr/lib/libmagic.so.1.0.0 -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man1/ --rw-r--r-- root/root usr/man/man1/file.1.gz -drwxr-xr-x root/root usr/man/man3/ --rw-r--r-- root/root usr/man/man3/libmagic.3.gz -drwxr-xr-x root/root usr/man/man5/ --rw-r--r-- root/root usr/man/man5/magic.5.gz drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/file.1.bz2 +drwxr-xr-x root/root usr/share/man/man3/ +-rw-r--r-- root/root usr/share/man/man3/libmagic.3.bz2 +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/magic.5.bz2 drwxr-xr-x root/root usr/share/misc/ -rw-r--r-- root/root usr/share/misc/magic.mgc 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-54-g00ecf