mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
50 lines
1.3 KiB
Bash
50 lines
1.3 KiB
Bash
SUMMARY="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="https://www.colm.net/open-source/ragel/"
|
|
COPYRIGHT="2001-2009 Adrian Thurston
|
|
2007 Victor Hugo Borja
|
|
2011 Josef Goettgens"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://www.colm.net/files/ragel/ragel-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="6e07be0fab5ca1d9c2d9e177718a018fc666141f594a5d6e7025658620cf660a"
|
|
PATCHES="ragel-$portVersion.patch"
|
|
|
|
ARCHITECTURES="?all x86_gcc2 x86"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
ragel$secondaryArchSuffix = $portVersion
|
|
cmd:ragel$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|