Files
haikuports/sys-apps/which/which-2.21.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00

46 lines
908 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://savannah.gnu.org/projects/which"
COPYRIGHT="Free Software Foundation"
LICENSE="GNU GPL v2"
REVISION="6"
SOURCE_URI="http://ftp.gnu.org/gnu/which/which-$portVersion.tar.gz"
CHECKSUM_SHA256="f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad"
PATCHES="which-$portVersion.patch"
ARCHITECTURES="all"
PROVIDES="
which = $portVersion
cmd:which = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc
cmd:grep
cmd:make
cmd:sed
"
defineDebugInfoPackage which \
$binDir/which
BUILD()
{
runConfigure ./configure --disable-dependency-tracking
make $jobArgs
}
INSTALL()
{
make install
}