mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-18 09:40:05 +02:00
antlr: new recipes antlr_tool, antlr_runtime and antlr_cpp (#7834)
* antlr_tool is the grammar compiler * antlr_runtime is the Java runtime (this is also part of antlr_tool) * antlr_cpp is the C++ runtime antlr_tool and antlr_runtime are not built from source, they just repack the downloaded JAR files.
This commit is contained in:
33
dev-java/antlr-runtime/antlr_runtime-4.11.1.recipe
Normal file
33
dev-java/antlr-runtime/antlr_runtime-4.11.1.recipe
Normal file
@@ -0,0 +1,33 @@
|
||||
SUMMARY="The ANTLR Parser Generator (Java runtime)"
|
||||
DESCRIPTION="ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for \
|
||||
reading, processing, executing, or translating structured text or binary files. It's widely used \
|
||||
to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can \
|
||||
build and walk parse trees."
|
||||
HOMEPAGE="https://www.antlr.org/"
|
||||
COPYRIGHT="2012-2022 The ANTLR Project"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://www.antlr.org/download/antlr-runtime-$portVersion.jar#noarchive"
|
||||
CHECKSUM_SHA256="e06c6553c1ccc14d36052ec4b0fc6f13b808cf957b5b1dc3f61bf401996ada59"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
DISABLE_SOURCE_PACKAGE="yes"
|
||||
|
||||
PROVIDES="
|
||||
antlr_runtime = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
java:runtime >= 11
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $libDir
|
||||
cp antlr-runtime-$portVersion.jar $libDir
|
||||
}
|
||||
Reference in New Issue
Block a user