dev-libs/antlr4-cpp: initial import of version 4.7.1
This commit is contained in:
parent
fae65e99f4
commit
7f8f3b9f69
36
packages/dev-libs/antlr4-cpp/antlr4-cpp-4.7.1.exheres-0
Normal file
36
packages/dev-libs/antlr4-cpp/antlr4-cpp-4.7.1.exheres-0
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 2018 Julian Ospald <hasufell@posteo>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
WORK=${WORKBASE}
|
||||||
|
|
||||||
|
require cmake [ api=2 ]
|
||||||
|
|
||||||
|
SUMMARY="A powerful parser generator for reading, processing, executing, or translating structured text or binary files (cpp target)"
|
||||||
|
HOMEPAGE="http://www.antlr.org"
|
||||||
|
DOWNLOADS="http://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip
|
||||||
|
http://www.antlr.org/download/antlr-${PV}-complete.jar"
|
||||||
|
|
||||||
|
LICENCES="BSD-3"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
virtual/pkg-config
|
||||||
|
build+run:
|
||||||
|
dev-java/antlr:4
|
||||||
|
sys-apps/util-linux
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||||
|
-DANTLR_JAR_LOCATION="/usr/share/antlr-4/antlr-complete.jar"
|
||||||
|
-DWITH_DEMO=False
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user