summaryrefslogtreecommitdiffstats
path: root/findutils/Pkgfile
blob: 56a03d3f99be1580397b7bebacd84198f2c3e84a (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="Basic directory searching utilities."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.gnu.org/software/findutils/"
depends=()

name=findutils
version=4.4.2
release=1
source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz)
build () 
{ 
	cd $name-$version;
	./configure \
		${CHOST:+--build=${CHOST}} \
		${CTARGET:+--host=${CTARGET}} \
		--prefix=$prefix \
		--mandir=$mandir \
		$(use_enable nls);
	make;
	make DESTDIR=$PKG install;
	rm $PKG$prefix/bin/{updatedb,locate};
	rm $PKG$mandir/man1/{updatedb.1,locate.1};
	# Don’t know what it does… but it seems… a bad thing.
	#rm -r $PKG/usr/{libexec,share,var,man/man5}
}