1SUMMARY="Prints out location of specified executables that are in your PATH"
2DESCRIPTION="GNU 'which' is an utility that is used to find which executable \
3(or alias or shell function) is executed when entered on the shell prompt."
4HOMEPAGE="http://savannah.gnu.org/projects/which"
5COPYRIGHT="Free Software Foundation"
6LICENSE="GNU GPL v2"
7REVISION="6"
8SOURCE_URI="http://ftp.gnu.org/gnu/which/which-$portVersion.tar.gz"
9CHECKSUM_SHA256="f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad"
10PATCHES="which-$portVersion.patch"
11
12ARCHITECTURES="all"
13
14PROVIDES="
15	which = $portVersion
16	cmd:which = $portVersion
17	"
18REQUIRES="
19	haiku
20	"
21
22BUILD_REQUIRES="
23	haiku_devel
24	"
25BUILD_PREREQUIRES="
26	cmd:awk
27	cmd:gcc
28	cmd:grep
29	cmd:make
30	cmd:sed
31	"
32
33defineDebugInfoPackage which \
34	$binDir/which
35
36BUILD()
37{
38	runConfigure ./configure --disable-dependency-tracking
39	make $jobArgs
40}
41
42INSTALL()
43{
44	make install
45}
46