dev-ada/gnatsymbolize: bump to 2019
authorTupone Alfredo <tupone@gentoo.org>
Tue, 18 Jun 2019 12:52:12 +0000 (14:52 +0200)
committerTupone Alfredo <tupone@gentoo.org>
Tue, 18 Jun 2019 12:52:12 +0000 (14:52 +0200)
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-ada/gnatsymbolize/Manifest
dev-ada/gnatsymbolize/gnatsymbolize-2019.ebuild [new file with mode: 0644]
dev-ada/gnatsymbolize/metadata.xml

index ac35e2e328b7057d0c485347ca664291f2d21f8a..7616e55dab9fa430b5153c8267439b93e0c3938b 100644 (file)
@@ -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 (file)
index 0000000..b295bd6
--- /dev/null
@@ -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
+}
index 51c5ca471d8038533539e6c068af8584c729b803..527404c23c2a4d43baab58805071de681506999b 100644 (file)
@@ -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.