Files
haikuports/dev-util/ragel/ragel-6.8.recipe
2014-04-21 19:31:51 +02:00

55 lines
1.3 KiB
Plaintext

SUMMARY="Ragel compiles executable finite state machines from regular languages"
DESCRIPTION="
Ragel compiles executable finite state machines from regular languages.
Ragel targets C, C++, Objective-C, C#, D, Java, Ruby, OCaml and Go.
Ragel state machines can not only recognize byte sequences as regular \
expression machines do, but can also execute code at arbitrary points in the \
recognition of a regular language.
Code embedding is done using inline operators that do not disrupt the regular \
language syntax.
"
HOMEPAGE="http://www.complang.org/ragel"
SRC_URI="http://www.complang.org/ragel/ragel-6.8.tar.gz"
CHECKSUM_SHA256="dd7f7d22f3a58147379bda61334d341c2caa0caf9f71897e3e4ec05c8f398764"
REVISION="1"
LICENSE="GNU GPL v1"
COPYRIGHT="
2001-2009 Adrian Thurston <thurston@complang.org>
2007 Victor Hugo Borja <vic@rubyforge.org>
2011 Josef Goettgens
"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
ragel$secondaryArchSuffix = $portVersion
cmd:ragel$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
PATCHES="ragel-6.8.patch"
BUILD()
{
runConfigure ./configure
make
}
INSTALL()
{
make install
}