diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-03 02:25:09 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-03 02:25:09 +0000 |
commit | 384d032fe7e048bb10cc9bc9881835c92d7e104c (patch) | |
tree | 59b969fdecd674b649820312bfa0b0f6043c25a0 /dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild | |
parent | 7a13078cb414752df1133d1767cc29260dc60fda (diff) |
gentoo auto-resync : 03:01:2023 - 02:25:09
Diffstat (limited to 'dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild')
-rw-r--r-- | dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild b/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild new file mode 100644 index 000000000000..f184f2fc1c2c --- /dev/null +++ b/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="The ANTLR 4 C++ Runtime" +HOMEPAGE="https://www.antlr.org/" +SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> ${P}.zip" +S="${WORKDIR}" + +LICENSE="BSD" +SLOT="4" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-cpp/gtest )" +BDEPEND="app-arch/unzip" + +PATCHES=( "${FILESDIR}"/${PV}-GNUInstallDirs.patch ) + +src_configure() { + local mycmakeargs=( + -DANTLR_BUILD_CPP_TESTS=$(usex test) + ) + cmake_src_configure +} |