mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-14 07:40:07 +02:00
antlr: bump version
This commit is contained in:
68
dev-cpp/antlr-cpp/antlr_cpp-4.13.2.recipe
Normal file
68
dev-cpp/antlr-cpp/antlr_cpp-4.13.2.recipe
Normal file
@@ -0,0 +1,68 @@
|
||||
SUMMARY="The ANTLR Parser Generator (C++ 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/antlr4-cpp-runtime-$portVersion-source.zip"
|
||||
CHECKSUM_SHA256="0ed13668906e86dbc0dcddf30fdee68c10203dea4e83852b4edb810821bee3c4"
|
||||
SOURCE_DIR=""
|
||||
PATCHES="antlr_cpp-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
antlr_cpp$secondaryArchSuffix = $portVersion
|
||||
lib:libantlr4_runtime$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
antlr_cpp${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libantlr4_runtime$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
antlr_cpp$secondaryArchSuffix == $portVersion base
|
||||
cmd:antlr4
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libgtest$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs \
|
||||
-DANTLR_BUILD_STATIC=OFF \
|
||||
-DANTLR4_INSTALL=ON
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLib libantlr4-runtime
|
||||
fixCMake
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make -C build test
|
||||
}
|
||||
Reference in New Issue
Block a user