0
0
Fork 0
haikuports/dev-util/byacc/byacc-20180609.recipe

51 lines
896 B
Bash

SUMMARY="Berkeley implementation of Yacc"
DESCRIPTION="Berkeley Yacc (byacc) is generally conceded to be the best yacc \
variant available. In contrast to bison, it is written to avoid dependencies \
upon a particular compiler."
HOMEPAGE="https://invisible-island.net/byacc/byacc.html"
COPYRIGHT="2002-2018 Thomas E. Dickey"
LICENSE="Public Domain"
REVISION="1"
SOURCE_URI="https://invisible-mirror.net/archives/byacc/byacc-$portVersion.tgz"
CHECKSUM_SHA256="5bbb0b3ec3da5981a2488383b652499d6c1e0236b47d8bac5fcdfa12954f749c"
ARCHITECTURES="all"
PROVIDES="
byacc = $portVersion
cmd:byacc = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc
cmd:ld
cmd:make
"
TEST_REQUIRES="
cmd:cmp
"
BUILD()
{
runConfigure --omit-dirs docDir ./configure --program-transform=s,^,b,
make
}
INSTALL()
{
make install
}
TEST()
{
make check
}