summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-12-17 08:58:07 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-12-17 08:58:07 +0100
commitd7a147465a03a490c6d156ec5fec12ce5e779695 (patch)
treeb256635c3b346103ee911ce80423411d52597d92 /dev-ada
parentdev-cpp/eigen: Stabilize 3.4.0-r1 arm, #829331 (diff)
downloadgentoo-d7a147465a03a490c6d156ec5fec12ce5e779695.tar.gz
gentoo-d7a147465a03a490c6d156ec5fec12ce5e779695.tar.bz2
gentoo-d7a147465a03a490c6d156ec5fec12ce5e779695.zip
dev-ada/libadalang-tools: Libadalang-based development tools for Ada
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/libadalang-tools/Manifest1
-rw-r--r--dev-ada/libadalang-tools/libadalang-tools-22.0.0.ebuild35
-rw-r--r--dev-ada/libadalang-tools/metadata.xml7
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-ada/libadalang-tools/Manifest b/dev-ada/libadalang-tools/Manifest
new file mode 100644
index 000000000000..57faecc3da70
--- /dev/null
+++ b/dev-ada/libadalang-tools/Manifest
@@ -0,0 +1 @@
+DIST libadalang-tools-22.0.0.tar.gz 892619 BLAKE2B 5ba3cc91c0cd251ade396eda1d8de4244712905ef33ec9bb68a76ab20908d4034b78989dc051b2e47a2fd37e41ae49bf46b1459a74742205750c8a60697e27cc SHA512 c9028428379e68644dee140b76c6806b15561484bdc77a8c85c88c1ae4de512b6252f41b415fe767c5c7ae533fba1583e075620bd222a7be240d6cd1130d25bd
diff --git a/dev-ada/libadalang-tools/libadalang-tools-22.0.0.ebuild b/dev-ada/libadalang-tools/libadalang-tools-22.0.0.ebuild
new file mode 100644
index 000000000000..6562088f4a50
--- /dev/null
+++ b/dev-ada/libadalang-tools/libadalang-tools-22.0.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ADA_COMPAT=( gnat_202{0,1} )
+inherit ada multiprocessing
+
+DESCRIPTION="Libadalang-based tools: gnatpp, gnatmetric and gnatstub"
+HOMEPAGE="https://www.adacore.com/community"
+SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RESTRICT="test"
+
+RDEPEND="${ADA_DEPS}"
+DEPEND="${RDEPEND}
+ dev-ada/libadalang[${ADA_USEDEP},static-libs]"
+BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]"
+
+src_compile() {
+ gprbuild -v -k -XLIBRARY_TYPE=static -XXMLADA_BUILD=static \
+ -XBUILD_MODE=dev -XLALTOOLS_SET=all -P src/build.gpr -p \
+ -j$(makeopts_jobs) || die
+}
+
+src_install() {
+ dobin bin/gnat{metric,pp,stub,test}
+ einstalldocs
+}
diff --git a/dev-ada/libadalang-tools/metadata.xml b/dev-ada/libadalang-tools/metadata.xml
new file mode 100644
index 000000000000..d2615c1b0e0a
--- /dev/null
+++ b/dev-ada/libadalang-tools/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ada@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>