From 2d29e9ca9fe7d37cfe56cff87bf1acffa98e9dfb Mon Sep 17 00:00:00 2001 From: Thierry N Date: Fri, 7 Aug 2009 13:45:53 +0200 Subject: Ajout de file#5.03-1 --- base/file/Pkgfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 base/file/Pkgfile (limited to 'base/file/Pkgfile') diff --git a/base/file/Pkgfile b/base/file/Pkgfile new file mode 100755 index 000000000..adcc0a95d --- /dev/null +++ b/base/file/Pkgfile @@ -0,0 +1,23 @@ +# Description: Utilitaire pour déterminer le type de fichier donné. +# URL: ftp://ftp.fu-berlin.de/unix/tools/file/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: zlib + +name=file +version=5.03 +release=1 +source=(ftp://ftp.gw.com/mirrors/unix/$name/$name-$version.tar.gz) + + +build() { +cd $name-$version +sed -i -e '197,+1d' \ + -e '189,+1d' \ + -e 's/token$/tokens/' doc/file.man +./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info +make +make DESTDIR=$PKG install +} -- cgit v1.2.3-70-g09d2