summaryrefslogtreecommitdiffstats
path: root/base/findutils/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-07 13:46:58 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-07 13:46:58 +0200
commitedea8f585166337ef71b1a4438f3d6c4ecd79e47 (patch)
tree451a71b5daf0ad110de62ce02d6f31ef98930efd /base/findutils/Pkgfile
parent272fc119db440da4623eeaccc51c7ea45d0cb064 (diff)
downloadnutyx-extra-edea8f585166337ef71b1a4438f3d6c4ecd79e47.tar.gz
nutyx-extra-edea8f585166337ef71b1a4438f3d6c4ecd79e47.tar.bz2
nutyx-extra-edea8f585166337ef71b1a4438f3d6c4ecd79e47.tar.xz
nutyx-extra-edea8f585166337ef71b1a4438f3d6c4ecd79e47.zip
Ajout de findutils#4.4.2-1
Diffstat (limited to 'base/findutils/Pkgfile')
-rwxr-xr-xbase/findutils/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/base/findutils/Pkgfile b/base/findutils/Pkgfile
new file mode 100755
index 000000000..50b5b0dc0
--- /dev/null
+++ b/base/findutils/Pkgfile
@@ -0,0 +1,26 @@
+# 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: gdbm
+
+name=findutils
+version=4.4.2
+release=1
+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
+if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+fi
+}