diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2022-12-12 22:15:32 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2022-12-14 08:50:40 +0100 |
commit | 4353853fcc5380c499df6ab54a86157aacb17c81 (patch) | |
tree | e1e7035d66b6e38458a8235e1fb16a30140eb10a /dev-ada/templates-parser | |
parent | dev-ruby/time: add 0.2.1 (diff) | |
download | gentoo-4353853fcc5380c499df6ab54a86157aacb17c81.tar.gz gentoo-4353853fcc5380c499df6ab54a86157aacb17c81.tar.bz2 gentoo-4353853fcc5380c499df6ab54a86157aacb17c81.zip |
dev-ada/templates-parser: new package, add 23.0.0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada/templates-parser')
-rw-r--r-- | dev-ada/templates-parser/Manifest | 1 | ||||
-rw-r--r-- | dev-ada/templates-parser/metadata.xml | 13 | ||||
-rw-r--r-- | dev-ada/templates-parser/templates-parser-23.0.0.ebuild | 36 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-ada/templates-parser/Manifest b/dev-ada/templates-parser/Manifest new file mode 100644 index 000000000000..edcb095b1c28 --- /dev/null +++ b/dev-ada/templates-parser/Manifest @@ -0,0 +1 @@ +DIST templates-parser-23.0.0.tar.gz 225459 BLAKE2B 0971030e3079ff93b876bcb51925208eeee63837878a24589700dc9e0c025272e2d7920f82ee9b769c04857e4701d3eed629a1ac1f0979714c47fc132a188bed SHA512 c0a94b42391c61b4251cbbe86f91c506f46f6eed5be3779385bf199cf43281b704c68fd078b8b917948675976538168c1ac4c1f3b757f6db9988a45af7bfc4a5 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..ab3ed9e8723a --- /dev/null +++ b/dev-ada/templates-parser/templates-parser-23.0.0.ebuild @@ -0,0 +1,36 @@ +# 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" + +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 +} |