summaryrefslogtreecommitdiffstats
path: root/base/findutils/Pkgfile
blob: 9c247a2a671fef1ada1ad5e02bb0f3ac7dd162a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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: 

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
}