dev-libs/antlr4-cpp: initial import of version 4.7.1

This commit is contained in:
Julian Ospald 2018-09-17 00:48:21 +08:00
parent fae65e99f4
commit 7f8f3b9f69
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View 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
}