From 9291e062cb24bac5d7c7059d4dc64669c1917b33 Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 8 Jan 2012 12:12:28 +0100 Subject: aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- findutils/Pkgfile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 findutils/Pkgfile (limited to 'findutils/Pkgfile') diff --git a/findutils/Pkgfile b/findutils/Pkgfile new file mode 100755 index 000000000..ecb76c8ce --- /dev/null +++ b/findutils/Pkgfile @@ -0,0 +1,27 @@ +# Description: Outil de recherche de fichiers +# URL: http://www.gnu.org/software/findutils/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +name=findutils +version=4.4.2 +release=2 +source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz\ + ) + +build() { +cd $name-$version +./configure --prefix=/usr \ + --localstatedir=/var/lib/locate \ + --libexecdir=/usr/lib/findutils +make +make DESTDIR=$PKG install +mkdir $PKG/bin +mv -v $PKG/usr/bin/find $PKG/bin/ +sed -i -e 's/find:=${BINDIR}/find:=\/bin/' $PKG/usr/bin/updatedb +sed -i 's/\pass3//g' $PKG/usr/bin/updatedb +if [ -f $PKG/usr/share/info/dir ]; then + rm $PKG/usr/share/info/dir +fi +} -- cgit v1.2.3-70-g09d2