diff options
author | Lukc <lukc@upyum.com> | 2010-12-21 05:11:25 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-21 05:11:25 +0100 |
commit | 8b08795463166f5ec78d0966e716abcbca8fcf18 (patch) | |
tree | b1cfe7aed0daf760e310fa458c506451d1ff5f6d | |
parent | e36f5e1b38b8f04f9838418cae68212086a80756 (diff) | |
download | base-8b08795463166f5ec78d0966e716abcbca8fcf18.tar.gz base-8b08795463166f5ec78d0966e716abcbca8fcf18.tar.bz2 base-8b08795463166f5ec78d0966e716abcbca8fcf18.tar.xz base-8b08795463166f5ec78d0966e716abcbca8fcf18.zip |
Recette de file mise à jour.
-rw-r--r-- | file/.footprint | 14 | ||||
-rw-r--r-- | file/Pkgfile | 23 |
2 files changed, 21 insertions, 16 deletions
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 <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" 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 } |