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/gnatmem/
Date: Tue, 17 Sep 2019 07:19:21
Message-Id: 1568704743.02795dc2173fd21428e71e4d5e4f959b58442b47.tupone@gentoo
1 commit: 02795dc2173fd21428e71e4d5e4f959b58442b47
2 Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 17 07:19:03 2019 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 17 07:19:03 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02795dc2
7
8 dev-ada/gnatmem: 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/gnatmem/gnatmem-2019-r1.ebuild | 45 ++++++++++++++++++++++++++++++++++
14 1 file changed, 45 insertions(+)
15
16 diff --git a/dev-ada/gnatmem/gnatmem-2019-r1.ebuild b/dev-ada/gnatmem/gnatmem-2019-r1.ebuild
17 new file mode 100644
18 index 00000000000..c5bc8a4e16d
19 --- /dev/null
20 +++ b/dev-ada/gnatmem/gnatmem-2019-r1.ebuild
21 @@ -0,0 +1,45 @@
22 +# Copyright 1999-2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +ADA_COMPAT=( gnat_201{6,7,8,9} )
28 +inherit ada multiprocessing autotools
29 +
30 +MYP=${P}-20190429-19745-src
31 +
32 +DESCRIPTION="Monitors dynamic allocation and deallocation activity in a program"
33 +HOMEPAGE="http://libre.adacore.com/"
34 +SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf8e1431e87a8f1d425089
35 + -> ${MYP}.tar.gz"
36 +
37 +LICENSE="GPL-3"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~x86"
40 +IUSE=""
41 +
42 +RDEPEND="${ADA_DEPS}"
43 +DEPEND="${RDEPEND}
44 + dev-ada/gprbuild[${ADA_USEDEP}]
45 + sys-libs/binutils-libs"
46 +
47 +REQUIRED_USE="${ADA_REQUIRED_USE}"
48 +
49 +S="${WORKDIR}"/${MYP}
50 +
51 +PATCHES=( "${FILESDIR}"/${PN}-2018-gentoo.patch )
52 +
53 +src_prepare() {
54 + default
55 + mv configure.in configure.ac
56 + eautoreconf
57 +}
58 +
59 +src_compile() {
60 + gprbuild -v -Pgnatmem.gpr -j$(makeopts_jobs) \
61 + -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS}
62 +}
63 +
64 +src_install() {
65 + dobin obj/gnatmem
66 +}