#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=depfinder
pkgver=1.4.0
pkgrel=1gv
source=(http://pnboy.pinguix.com/gapan/$pkgname/$pkgname-$pkgver.tar.gz)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "translators")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"depfinder (finds dependencies of Slackware packages)"
"depfinder is a tool that finds the dependencies of Slackware"
"packages and outputs them in a comma separated list, in stdout or a"
".dep file. depfinder is very fast at calculating dependencies; the"
"speed difference mainly comes from the C++ code that is used to find"
"in which package each individual library is included. That C++ code is"
"'borrowed' (as in blatanly ripped) from Nigel Bosch's zpm code."
"depfinder also has support for running multiple jobs which makes it a"
"*lot* faster on PCs with multiple CPUs/cores."
)


build() {
	cd $startdir/src/$pkgname
	if [ $arch = "x86_64" ];then
		./compile.sh -64
	else
		./compile.sh
	fi
	DESTDIR=$startdir/pkg ./install.sh
}