summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2019-06-18 14:52:12 +0200
committerTupone Alfredo <tupone@gentoo.org>2019-06-18 14:52:12 +0200
commit3b86aef21233adb5c3317e153b4733839691bd32 (patch)
tree371ac18efbb74e681838976d7e16db2bb54f45b3 /dev-ada/gnatsymbolize
parentnet-dns/pdns: Version bump (diff)
downloadgentoo-3b86aef21233adb5c3317e153b4733839691bd32.tar.gz
gentoo-3b86aef21233adb5c3317e153b4733839691bd32.tar.bz2
gentoo-3b86aef21233adb5c3317e153b4733839691bd32.zip
dev-ada/gnatsymbolize: bump to 2019
Signed-off-by: Alfredo Tupone <tupone@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-ada/gnatsymbolize')
-rw-r--r--dev-ada/gnatsymbolize/Manifest1
-rw-r--r--dev-ada/gnatsymbolize/gnatsymbolize-2019.ebuild38
-rw-r--r--dev-ada/gnatsymbolize/metadata.xml9
3 files changed, 45 insertions, 3 deletions
diff --git a/dev-ada/gnatsymbolize/Manifest b/dev-ada/gnatsymbolize/Manifest
index ac35e2e328b7..7616e55dab9f 100644
--- a/dev-ada/gnatsymbolize/Manifest
+++ b/dev-ada/gnatsymbolize/Manifest
@@ -1 +1,2 @@
+DIST gnatsymbolize-2019-20190429-19761-src.tar.gz 14297 BLAKE2B 8ea689266abc485632c04a696c0d30632fdfcc123153ae006158700514ebedd6d067124e59e519a0ebe35569eb0e2fad8dd48a33d49551ba608e14d3ec73d636 SHA512 68e8c9bb2880738160722a2c413c6146c86efd0822236019ca5824eed4a2b392252676d0f96c035830b80068b82344b44953006fc96ea208f6bde6618190336c
DIST gnatsymbolize-gpl-2018-src.tar.gz 14286 BLAKE2B ac655b951b584224e64778fd800c082defee9abce4b3e7e1ac766a38c3b1ed8624c349f249714376e5984e37a9e9df256b6627b6ed2898f2f71fcaa8067cf36b SHA512 4fc21b45c32c08f9911cb7cdc0170e36f1c10d703244bbbfbd525386297b6e6779651751281402e8c4caee668df052e7c1ccc234e5cd88151ee471b8e3f06d0f
diff --git a/dev-ada/gnatsymbolize/gnatsymbolize-2019.ebuild b/dev-ada/gnatsymbolize/gnatsymbolize-2019.ebuild
new file mode 100644
index 000000000000..b295bd6063e9
--- /dev/null
+++ b/dev-ada/gnatsymbolize/gnatsymbolize-2019.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multiprocessing autotools
+
+MYP=${P}-20190429-19761-src
+
+DESCRIPTION="Translates addresses into filename, line number, and function names"
+HOMEPAGE="http://libre.adacore.com/"
+SRC_URI="http://mirrors.cdn.adacore.com/art/5cc7d5e431e87a23952f18c4 ->
+ ${MYP}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnat_2018 +gnat_2019"
+
+RDEPEND=""
+DEPEND="gnat_2018? ( dev-lang/gnat-gpl:7.3.1 )
+ gnat_2019? ( dev-lang/gnat-gpl:8.3.1 )"
+REQUIRED_USE=" ^^ ( gnat_2018 gnat_2019 )"
+
+S="${WORKDIR}"/${MYP}
+
+src_compile() {
+ if use gnat_2018; then
+ GCC_PV=7.3.1
+ else
+ GCC_PV=8.3.1
+ fi
+ gnatmake-${GCC_PV} -v gnatsymbolize -cargs ${ADAFLAGS} || die
+}
+
+src_install() {
+ dobin gnatsymbolize
+}
diff --git a/dev-ada/gnatsymbolize/metadata.xml b/dev-ada/gnatsymbolize/metadata.xml
index 51c5ca471d80..527404c23c2a 100644
--- a/dev-ada/gnatsymbolize/metadata.xml
+++ b/dev-ada/gnatsymbolize/metadata.xml
@@ -1,10 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>tupone@gentoo.org</email>
- <name>Tupone Alfredo</name>
+ <maintainer type="project">
+ <email>ada@gentoo.org</email>
</maintainer>
+ <use>
+ <flag name="gnat_2018">Compile with dev-lang/gnat-gpl-2018</flag>
+ <flag name="gnat_2019">Compile with dev-lang/gnat-gpl-2019</flag>
+ </use>
<longdescription lang="en">
gnatsymbolize is a program which translates addresses into their
corresponding filename, line number, and function names.