summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2019-09-17 09:24:10 +0200
committerTupone Alfredo <tupone@gentoo.org>2019-09-17 09:24:10 +0200
commit4f010853f75febabbe7b1c72807fc3835f45e187 (patch)
treef413764f05c71a6705c24f801437148640c2238c /dev-ada/gnatsymbolize
parentdev-ada/gnatmem: simplify using ada eclass (diff)
downloadgentoo-4f010853f75febabbe7b1c72807fc3835f45e187.tar.gz
gentoo-4f010853f75febabbe7b1c72807fc3835f45e187.tar.bz2
gentoo-4f010853f75febabbe7b1c72807fc3835f45e187.zip
dev-ada/gnatsymbolize: simplify using ada eclass
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada/gnatsymbolize')
-rw-r--r--dev-ada/gnatsymbolize/gnatsymbolize-2019-r1.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-ada/gnatsymbolize/gnatsymbolize-2019-r1.ebuild b/dev-ada/gnatsymbolize/gnatsymbolize-2019-r1.ebuild
new file mode 100644
index 000000000000..d2aae7347b93
--- /dev/null
+++ b/dev-ada/gnatsymbolize/gnatsymbolize-2019-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+ADA_COMPAT=( gnat_201{8,9} )
+inherit ada 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=""
+
+RDEPEND="${ADA_DEPS}"
+DEPEND="${RDEPEND}"
+REQUIRED_USE="${ADA_REQUIRED_USE}"
+
+S="${WORKDIR}"/${MYP}
+
+src_compile() {
+ gnatmake -v gnatsymbolize -cargs ${ADAFLAGS} || die
+}
+
+src_install() {
+ dobin gnatsymbolize
+}