summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2018-07-08 11:12:51 +0200
committerTupone Alfredo <tupone@gentoo.org>2018-07-08 11:12:51 +0200
commit97976d99803e75d92a20871ee45e361f05cddb08 (patch)
tree28111369e5b55d9c48d271215db75880abd1b36b /dev-ada/libadalang-tools/libadalang-tools-2018.ebuild
parentdev-ada/libadalang: Build shared/static library (diff)
downloadgentoo-97976d99803e75d92a20871ee45e361f05cddb08.tar.gz
gentoo-97976d99803e75d92a20871ee45e361f05cddb08.tar.bz2
gentoo-97976d99803e75d92a20871ee45e361f05cddb08.zip
dev-ada/libadalang-tools: Add libadalang-tools to tree
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ada/libadalang-tools/libadalang-tools-2018.ebuild')
-rw-r--r--dev-ada/libadalang-tools/libadalang-tools-2018.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-ada/libadalang-tools/libadalang-tools-2018.ebuild b/dev-ada/libadalang-tools/libadalang-tools-2018.ebuild
new file mode 100644
index 00000000000..1a4889aaeea
--- /dev/null
+++ b/dev-ada/libadalang-tools/libadalang-tools-2018.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MYP=${PN}-gpl-${PV}
+DESCRIPTION="Libadalang-based tools: gnatpp, gnatmetric and gnatstub"
+HOMEPAGE="https://www.adacore.com/community"
+SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27a59 ->
+ ${MYP}-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnat_2016 gnat_2017 +gnat_2018"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-ada/libadalang[gnat_2016=,gnat_2017=,gnat_2018=]"
+
+S="${WORKDIR}"/${PN}-src
+
+src_install() {
+ dobin bin/gnatpp
+ newbin bin/gnatmetric gnatmetric-tool
+ newbin bin/gnatstub gnatstub-tool
+ einstalldocs
+}