Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/gnatsymbolize/
Date: Tue, 17 Sep 2019 07:24:28
Message-Id: 1568705050.4f010853f75febabbe7b1c72807fc3835f45e187.tupone@gentoo
1 commit: 4f010853f75febabbe7b1c72807fc3835f45e187
2 Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 17 07:24:10 2019 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 17 07:24:10 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f010853
7
8 dev-ada/gnatsymbolize: simplify using ada eclass
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
12
13 dev-ada/gnatsymbolize/gnatsymbolize-2019-r1.ebuild | 32 ++++++++++++++++++++++
14 1 file changed, 32 insertions(+)
15
16 diff --git a/dev-ada/gnatsymbolize/gnatsymbolize-2019-r1.ebuild b/dev-ada/gnatsymbolize/gnatsymbolize-2019-r1.ebuild
17 new file mode 100644
18 index 00000000000..d2aae7347b9
19 --- /dev/null
20 +++ b/dev-ada/gnatsymbolize/gnatsymbolize-2019-r1.ebuild
21 @@ -0,0 +1,32 @@
22 +# Copyright 1999-2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +ADA_COMPAT=( gnat_201{8,9} )
27 +inherit ada multiprocessing autotools
28 +
29 +MYP=${P}-20190429-19761-src
30 +
31 +DESCRIPTION="Translates addresses into filename, line number, and function names"
32 +HOMEPAGE="http://libre.adacore.com/"
33 +SRC_URI="http://mirrors.cdn.adacore.com/art/5cc7d5e431e87a23952f18c4 ->
34 + ${MYP}.tar.gz"
35 +
36 +LICENSE="GPL-3"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +IUSE=""
40 +
41 +RDEPEND="${ADA_DEPS}"
42 +DEPEND="${RDEPEND}"
43 +REQUIRED_USE="${ADA_REQUIRED_USE}"
44 +
45 +S="${WORKDIR}"/${MYP}
46 +
47 +src_compile() {
48 + gnatmake -v gnatsymbolize -cargs ${ADAFLAGS} || die
49 +}
50 +
51 +src_install() {
52 + dobin gnatsymbolize
53 +}