From 4f010853f75febabbe7b1c72807fc3835f45e187 Mon Sep 17 00:00:00 2001 From: Tupone Alfredo Date: Tue, 17 Sep 2019 09:24:10 +0200 Subject: [PATCH] dev-ada/gnatsymbolize: simplify using ada eclass Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Alfredo Tupone --- .../gnatsymbolize-2019-r1.ebuild | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 dev-ada/gnatsymbolize/gnatsymbolize-2019-r1.ebuild 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 +} -- 2.26.2