From 7f8f3b9f69981b294317b03c13c356672b640c4d Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 17 Sep 2018 00:48:21 +0800 Subject: [PATCH] dev-libs/antlr4-cpp: initial import of version 4.7.1 --- .../antlr4-cpp/antlr4-cpp-4.7.1.exheres-0 | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 packages/dev-libs/antlr4-cpp/antlr4-cpp-4.7.1.exheres-0 diff --git a/packages/dev-libs/antlr4-cpp/antlr4-cpp-4.7.1.exheres-0 b/packages/dev-libs/antlr4-cpp/antlr4-cpp-4.7.1.exheres-0 new file mode 100644 index 00000000..123c5c4e --- /dev/null +++ b/packages/dev-libs/antlr4-cpp/antlr4-cpp-4.7.1.exheres-0 @@ -0,0 +1,36 @@ +# Copyright 2018 Julian Ospald +# 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 +} +