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 0000000..123c5c4 --- /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 +} +