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 /file/Pkgfile | |
parent | e36f5e1b38b8f04f9838418cae68212086a80756 (diff) | |
download | base-8b08795463166f5ec78d0966e716abcbca8fcf18.tar.gz base-8b08795463166f5ec78d0966e716abcbca8fcf18.tar.bz2 base-8b08795463166f5ec78d0966e716abcbca8fcf18.tar.xz base-8b08795463166f5ec78d0966e716abcbca8fcf18.zip |
Recette de file mise à jour.
Diffstat (limited to 'file/Pkgfile')
-rw-r--r-- | file/Pkgfile | 23 |
1 files changed, 14 insertions, 9 deletions
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 } |