diff options
Diffstat (limited to 'dev-ada/templates-parser/templates-parser-23.0.0.ebuild')
-rw-r--r-- | dev-ada/templates-parser/templates-parser-23.0.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-ada/templates-parser/templates-parser-23.0.0.ebuild b/dev-ada/templates-parser/templates-parser-23.0.0.ebuild new file mode 100644 index 000000000000..2b3432cc43f6 --- /dev/null +++ b/dev-ada/templates-parser/templates-parser-23.0.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ADA_COMPAT=( gnat_2021 gcc_12_2_0 ) +inherit ada multiprocessing + +DESCRIPTION="A template engine" +HOMEPAGE="https://github.com/AdaCore/templates-parser" +SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" + +RDEPEND="${ADA_DEPS}" +DEPEND="${RDEPEND} + dev-ada/gprbuild[${ADA_USEDEP}]" + +IUSE="+shared static-libs" +REQUIRED_USE="|| ( shared static-libs ) + ${ADA_REQUIRED_USE}" + +src_configure() { + emake PROCESSORS=$(makeopts_jobs) \ + DEFAULT_LIBRARY_TYPE=$(usex shared relocatable static) \ + ENABLE_STATIC=$(usex static-libs true false) \ + ENABLE_SHARED=$(usex shared true false) \ + prefix=/usr \ + setup +} + +src_compile() { + emake GPROPTS=-v +} |