From f4a542bc248d3006a9dc1d88a24345d82f0239bc Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 4 Jun 2014 15:37:53 +0200 Subject: [PATCH] Add recipe for berkeley yacc. --- dev-util/byacc/byacc-20140422.recipe | 45 ++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 dev-util/byacc/byacc-20140422.recipe diff --git a/dev-util/byacc/byacc-20140422.recipe b/dev-util/byacc/byacc-20140422.recipe new file mode 100644 index 000000000..c216c2c50 --- /dev/null +++ b/dev-util/byacc/byacc-20140422.recipe @@ -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 +}