Files
haikuports/dev-java/antlr-runtime/antlr_runtime-4.12.0.recipe
Joachim Mairböck 29d8bcb3c0 antlr recipes: bump version (#7898)
The patch for antlr_cpp that was taken from an upstream PR was merged, so it was dropped from the patchset.
2023-03-04 08:34:53 +01:00

34 lines
907 B
Bash

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="db353b34927d6e10cd790905cea3c8e17283db464daf572e3eadbb9ee569da34"
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
}