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