1 |
commit: c661e60d7e219559cd15a3dbbbe5441da7b9576b |
2 |
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 28 16:29:06 2019 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 28 16:29:51 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c661e60d |
7 |
|
8 |
dev-ada/libgpr: stable 2018-r1 |
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/libgpr/libgpr-2018-r1.ebuild | 2 +- |
14 |
dev-ada/libgpr/libgpr-2018.ebuild | 61 ------------------------------------ |
15 |
2 files changed, 1 insertion(+), 62 deletions(-) |
16 |
|
17 |
diff --git a/dev-ada/libgpr/libgpr-2018-r1.ebuild b/dev-ada/libgpr/libgpr-2018-r1.ebuild |
18 |
index 06922c203e4..2d3d4634a96 100644 |
19 |
--- a/dev-ada/libgpr/libgpr-2018-r1.ebuild |
20 |
+++ b/dev-ada/libgpr/libgpr-2018-r1.ebuild |
21 |
@@ -13,7 +13,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27a68 |
22 |
-> ${MYP}-src.tar.gz" |
23 |
LICENSE="GPL-3" |
24 |
SLOT="0" |
25 |
-KEYWORDS="~amd64 ~x86" |
26 |
+KEYWORDS="amd64 x86" |
27 |
IUSE="gnat_2016 gnat_2017 +gnat_2018 gnat_2019 +shared static-libs static-pic" |
28 |
|
29 |
RDEPEND="dev-ada/xmlada[shared?,static-libs?,static-pic?] |
30 |
|
31 |
diff --git a/dev-ada/libgpr/libgpr-2018.ebuild b/dev-ada/libgpr/libgpr-2018.ebuild |
32 |
deleted file mode 100644 |
33 |
index 6041a1d9e70..00000000000 |
34 |
--- a/dev-ada/libgpr/libgpr-2018.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,61 +0,0 @@ |
37 |
-# Copyright 1999-2018 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=6 |
41 |
- |
42 |
-inherit toolchain-funcs multiprocessing |
43 |
- |
44 |
-MYP=gprbuild-gpl-${PV} |
45 |
- |
46 |
-DESCRIPTION="Ada library to handle GPRbuild project files" |
47 |
-HOMEPAGE="http://libre.adacore.com/" |
48 |
-SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27a68 |
49 |
- -> ${MYP}-src.tar.gz" |
50 |
-LICENSE="GPL-3" |
51 |
-SLOT="0" |
52 |
-KEYWORDS="amd64 x86" |
53 |
-IUSE="gnat_2016 gnat_2017 +gnat_2018 +shared static-libs static-pic" |
54 |
- |
55 |
-RDEPEND="dev-ada/xmlada[shared?,static-libs?,static-pic?] |
56 |
- dev-ada/xmlada[gnat_2016=,gnat_2017=,gnat_2018=] |
57 |
- !net-libs/grpc" |
58 |
-DEPEND="${RDEPEND} |
59 |
- dev-ada/gprbuild[gnat_2016(-)?,gnat_2017(-)?,gnat_2018(-)?]" |
60 |
- |
61 |
-S="${WORKDIR}"/${MYP}-src |
62 |
- |
63 |
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) |
64 |
- |
65 |
-src_configure() { |
66 |
- emake prefix="${D}"usr setup |
67 |
-} |
68 |
- |
69 |
-src_compile() { |
70 |
- build () { |
71 |
- gprbuild -p -m -j$(makeopts_jobs) -XBUILD=production -v \ |
72 |
- -XLIBRARY_TYPE=$1 -XXMLADA_BUILD=$1 \ |
73 |
- gpr/gpr.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die |
74 |
- } |
75 |
- if use shared; then |
76 |
- build relocatable |
77 |
- fi |
78 |
- if use static-libs; then |
79 |
- build static |
80 |
- fi |
81 |
- if use static-pic; then |
82 |
- build static-pic |
83 |
- fi |
84 |
-} |
85 |
- |
86 |
-src_install() { |
87 |
- if use static-libs; then |
88 |
- emake DESTDIR="${D}" libgpr.install.static |
89 |
- fi |
90 |
- for kind in shared static-pic; do |
91 |
- if use ${kind}; then |
92 |
- emake DESTDIR="${D}" libgpr.install.${kind} |
93 |
- fi |
94 |
- done |
95 |
- rm -r "${D}"/usr/share/gpr/manifests || die |
96 |
- einstalldocs |
97 |
-} |