diff options
Diffstat (limited to 'dev-ada/templates-parser')
-rw-r--r-- | dev-ada/templates-parser/Manifest | 3 | ||||
-rw-r--r-- | dev-ada/templates-parser/metadata.xml | 13 | ||||
-rw-r--r-- | dev-ada/templates-parser/templates-parser-23.0.0.ebuild | 38 |
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-ada/templates-parser/Manifest b/dev-ada/templates-parser/Manifest new file mode 100644 index 000000000000..34858ddf5baa --- /dev/null +++ b/dev-ada/templates-parser/Manifest @@ -0,0 +1,3 @@ +DIST templates-parser-23.0.0.tar.gz 225459 BLAKE2B 0971030e3079ff93b876bcb51925208eeee63837878a24589700dc9e0c025272e2d7920f82ee9b769c04857e4701d3eed629a1ac1f0979714c47fc132a188bed SHA512 c0a94b42391c61b4251cbbe86f91c506f46f6eed5be3779385bf199cf43281b704c68fd078b8b917948675976538168c1ac4c1f3b757f6db9988a45af7bfc4a5 +EBUILD templates-parser-23.0.0.ebuild 853 BLAKE2B 9bf2f0c3510ef6cfcfa0ec3378676a144e42d6235d6918a4b4bf396c42fa7b86d12dfb3501873eb30724b0445c04660121cc7c518e0e46a1c9462d54de81fb87 SHA512 a87e16b17b2f132a2807870cd16880c06760e1bd873cdb301cb5e60ae4f6cefd314c8b3266fe444ffb73905aea20f22581ab5349dcfd570e1f35751ed922ef92 +MISC metadata.xml 370 BLAKE2B 69c033fb988741a15510bfa2550038d9618b0d062e289f529c60c513cc9e63d0cd721a1f48212602f90be74e2f08e806bf0a6745b2488cfd6dde600a10eaaca6 SHA512 5ecbbb2c164d96711c20aa96dfbec89c17516406a649e8d1afa68455e262800f43b3f3697d9715a371027a850e821fcf80deb4c3f64ae0ece72a20edb1577767 diff --git a/dev-ada/templates-parser/metadata.xml b/dev-ada/templates-parser/metadata.xml new file mode 100644 index 000000000000..71e5ca6a8779 --- /dev/null +++ b/dev-ada/templates-parser/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ada@gentoo.org</email> + </maintainer> + <use> + <flag name="shared">Build shared library</flag> + </use> + <upstream> + <remote-id type="github">AdaCore/templates-parser</remote-id> + </upstream> +</pkgmetadata> 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 +} |