mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
55 lines
1.3 KiB
Plaintext
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
|
|
}
|