Files
haikuports/sys-apps/which/which-2.21.recipe
Jérôme Duval 454940d466 Bump revisions for x86_64 rebuild after time_t change.
* make gawk compatible with version 3.
* add some prerequisites for icu.
2017-06-12 17:40:24 -04:00

46 lines
926 B
Bash

SUMMARY="Prints out location of specified executables that are in your PATH"
DESCRIPTION="GNU 'which' is an utility that is used to find which executable \
(or alias or shell function) is executed when entered on the shell prompt."
HOMEPAGE="http://carlo17.home.xs4all.nl/which/"
COPYRIGHT="Free Software Foundation"
LICENSE="GNU GPL v2"
REVISION="4"
SOURCE_URI="http://ftp.gnu.org/gnu/which/which-$portVersion.tar.gz"
CHECKSUM_SHA256="f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad"
PATCHES="which-$portVersion.patch"
ARCHITECTURES="x86_gcc2 x86 x86_64 arm"
PROVIDES="
which = $portVersion
cmd:which = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
cmd:sed
cmd:grep
cmd:awk
"
defineDebugInfoPackage which \
$binDir/which
BUILD()
{
runConfigure ./configure --disable-dependency-tracking
make $jobArgs
}
INSTALL()
{
make install
}