Add recipe for berkeley yacc.

This commit is contained in:
Adrien Destugues
2014-06-04 15:37:53 +02:00
parent 998b7a7472
commit f4a542bc24

View File

@@ -0,0 +1,45 @@
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.
"
REVISION="1"
LICENSE="Public Domain"
COPYRIGHT="2002-2013,2014 by Thomas E. Dickey"
HOMEPAGE="http://invisible-island.net/byacc/byacc.html"
ARCHITECTURES="x86_gcc2"
SRC_URI="ftp://invisible-island.net/byacc/byacc.tar.gz"
CHECKSUM_SHA256="2f104c7e200dd86844d5f3521e12cb55fc48a9c3da3480a65fde2ca8c053bdcc"
PROVIDES="
byacc = $portVersion
cmd:yacc = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc
cmd:ld
cmd:make
"
BUILD()
{
runConfigure --omit-dirs docDir ./configure
make
}
INSTALL()
{
make install
}