diff options
author | Tupone Alfredo <tupone@gentoo.org> | 2019-09-19 14:49:43 +0200 |
---|---|---|
committer | Tupone Alfredo <tupone@gentoo.org> | 2019-09-19 14:49:43 +0200 |
commit | f99b46b20d56aab7ebe8f49f1e85f42746ca04a9 (patch) | |
tree | 8a5a95ef5fb8d7ff564ba73409d171f93b4e8577 /dev-ada | |
parent | dev-lua/luv: yank 1.30.1_p0 (diff) | |
download | gentoo-f99b46b20d56aab7ebe8f49f1e85f42746ca04a9.tar.gz gentoo-f99b46b20d56aab7ebe8f49f1e85f42746ca04a9.tar.bz2 gentoo-f99b46b20d56aab7ebe8f49f1e85f42746ca04a9.zip |
dev-ada/libadalang-tools: use 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')
-rw-r--r-- | dev-ada/libadalang-tools/libadalang-tools-2019-r1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-ada/libadalang-tools/libadalang-tools-2019-r1.ebuild b/dev-ada/libadalang-tools/libadalang-tools-2019-r1.ebuild new file mode 100644 index 000000000000..9dea7561bf5e --- /dev/null +++ b/dev-ada/libadalang-tools/libadalang-tools-2019-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ADA_COMPAT=( gnat_201{6,7,8,9} ) +inherit ada multiprocessing + +MYP=${P}-20190517-195C4 +DESCRIPTION="Libadalang-based tools: gnatpp, gnatmetric and gnatstub" +HOMEPAGE="https://www.adacore.com/community" +SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf8f4e31e87a8f1d42509f -> + ${MYP}-src.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="${ADA_DEPS}" +DEPEND="${RDEPEND} + dev-ada/libadalang[${ADA_USEDEP},static-libs] + dev-ada/gprbuild[${ADA_USEDEP}]" + +S="${WORKDIR}"/${MYP}-src + +src_compile() { + gprbuild -v -k -XLIBRARY_TYPE=static -XXMLADA_BUILD=static \ + -XGNATCOLL_GMP_BUILD=static \ + -P src/build.gpr -p -j$(makeopts_jobs) || die +} + +src_install() { + dobin bin/gnatpp + newbin bin/gnatmetric gnatmetric-tool + newbin bin/gnatstub gnatstub-tool + einstalldocs +} |