1 |
commit: f2f9e2147937d9248f5eb8b7a5d0ca9a127d6b7d |
2 |
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 7 18:33:57 2020 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 7 18:34:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2f9e214 |
7 |
|
8 |
dev-ada/gnat-suite-bin: version bump tp 2019 |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
dev-ada/gnat-suite-bin/Manifest | 1 + |
14 |
dev-ada/gnat-suite-bin/gnat-suite-bin-2019.ebuild | 86 +++++++++++++++++++++++ |
15 |
2 files changed, 87 insertions(+) |
16 |
|
17 |
diff --git a/dev-ada/gnat-suite-bin/Manifest b/dev-ada/gnat-suite-bin/Manifest |
18 |
index 596defa1e82..7e40913c9dc 100644 |
19 |
--- a/dev-ada/gnat-suite-bin/Manifest |
20 |
+++ b/dev-ada/gnat-suite-bin/Manifest |
21 |
@@ -3,3 +3,4 @@ DIST gnat-gpl-2014-x86_64-linux-bin.tar.gz 236253400 BLAKE2B c1db70db9442ba24688 |
22 |
DIST gnat-gpl-2016-x86_64-linux-bin.tar.gz 372813330 BLAKE2B a0374ad730ae275aaedcf5663c30f8e0221af32f14391fe87a3ce0630d4498a1e90671c02830d62f78857571a5a521af91f6db409a7b3c367c7b0f059571eefd SHA512 5115ac3be0badc5125ee048a98230f18363d72107da3325ce602c0e618cee2e3646a0decc00a2388f14bc61bfed51dd0622f365f5f7ee8b0cec2187ebcf8e075 |
23 |
DIST gnat-gpl-2017-x86_64-linux-bin.tar.gz 496338280 BLAKE2B b3eee6d311fb9c20bc8fa7217c0731ca1e91ced38700df1d63d91a16c3fa28dfd44c7c8e867c3a857b88e4f0c8b2a7200fb6a8a630b8403538c4784f8914d1a5 SHA512 01a8f3be9b7b7e83cc5bd4a45137b1d35c6448bc22a88bcaf5d312cd63e11081b6b2fe9f09ad2a27d8f0b6471fc5c1a99573bf3bcee1589329054074eaeef04f |
24 |
DIST gnat-suite-bin-2018.txz 337235688 BLAKE2B cf1b8f0253907b8fc97b9c7218b23dcda8f1557be5e12293eab59e09427418a8814c1bafbcb3f89c1e5dd755a161c5dfa8a852631d137f17acb3167bf51dadbb SHA512 9b57709c05a121b0a0adabe3232128e3f27659d1928857fbd6883b73a7487c3d457317e8f236df3d16ced635514af8afbafc584cc74d865e11288820ac9c4f77 |
25 |
+DIST gnat-suite-bin-2019.txz 518461388 BLAKE2B 31ca194d15cafd66abe1d0896f1444e746c1484149db26545855561512c251b84eea5b4d0932860dfed23cac7f0b3c94a9884c586f509ceb6da8b9becd29e913 SHA512 a640e451a1badc2a9c64abb80f1ae1b49b5389e265d14dfe9b22891d23b3d13a9770841a43cc50ceba81c2728777ed9da854654afe6198c79dd4e0fed536907c |
26 |
|
27 |
diff --git a/dev-ada/gnat-suite-bin/gnat-suite-bin-2019.ebuild b/dev-ada/gnat-suite-bin/gnat-suite-bin-2019.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..587a7e9955f |
30 |
--- /dev/null |
31 |
+++ b/dev-ada/gnat-suite-bin/gnat-suite-bin-2019.ebuild |
32 |
@@ -0,0 +1,86 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="7" |
37 |
+ |
38 |
+MYP=gnat-gpl-${PV} |
39 |
+DESCRIPTION="GNAT Ada suite" |
40 |
+HOMEPAGE="http://libre.adacore.com/" |
41 |
+# Extracted and repacked from gnat-community-2019-20190517-x86_64-linux-bin |
42 |
+SRC_URI="https://dev.gentoo.org/~tupone/distfiles/${P}.txz" |
43 |
+ |
44 |
+LICENSE="GPL-2 GPL-3" |
45 |
+SLOT="${PV}" |
46 |
+KEYWORDS="~amd64" |
47 |
+IUSE="" |
48 |
+ |
49 |
+DEPEND="" |
50 |
+RDEPEND="${DEPEND} |
51 |
+ sys-devel/binutils |
52 |
+ sys-devel/gdb" |
53 |
+ |
54 |
+PREFIX=/opt/${P} |
55 |
+ |
56 |
+src_prepare() { |
57 |
+ default |
58 |
+ rm Makefile |
59 |
+ cd share/examples/gnat |
60 |
+ cat header.xml \ |
61 |
+ full_project/full.xml \ |
62 |
+ options/options.xml \ |
63 |
+ other_languages/cpp_main/cpp_main.xml \ |
64 |
+ other_languages/cpp_pragmas/cpp_pragmas.xml \ |
65 |
+ other_languages/import_from_c/import_from_c.xml \ |
66 |
+ plugins/plugins.xml \ |
67 |
+ stream_io/stream_io.xml \ |
68 |
+ simple_project/simple_project.xml \ |
69 |
+ starter/starter.xml \ |
70 |
+ xml_stream/xml_stream.xml \ |
71 |
+ containers/anagram/anagram.xml \ |
72 |
+ containers/genealogy/genealogy.xml \ |
73 |
+ containers/hash/hash.xml \ |
74 |
+ containers/library/library.xml \ |
75 |
+ containers/shapes/shapes.xml \ |
76 |
+ containers/spellcheck/spellcheck.xml \ |
77 |
+ containers/wordcount/wordcount.xml \ |
78 |
+ containers/wordfreq/wordfreq.xml \ |
79 |
+ oo_interfaces/oo_interfaces.xml \ |
80 |
+ oo_airline/oo_airline.xml \ |
81 |
+ altivec/altivec.xml \ |
82 |
+ footer.xml \ |
83 |
+ > gnat-examples.xml \ |
84 |
+ || die |
85 |
+ sed -i \ |
86 |
+ -e "s:PREFIX:${PREFIX}:" \ |
87 |
+ gnat-examples.xml || die |
88 |
+} |
89 |
+ |
90 |
+src_install() { |
91 |
+ into ${PREFIX} |
92 |
+ dobin bin/* |
93 |
+ insinto ${PREFIX} |
94 |
+ doins -r etc include lib* share |
95 |
+ insinto ${PREFIX}/share/gps/plug-ins |
96 |
+ doins share/examples/gnat/gnat-examples.xml |
97 |
+ basever=8.3.1 |
98 |
+ machine=x86_64-pc-linux-gnu |
99 |
+ fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/cc1 |
100 |
+ fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/cc1plus |
101 |
+ fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/collect2 |
102 |
+ fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/gnat1 |
103 |
+ fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/liblto_plugin.so.0.0.0 |
104 |
+ fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/lto1 |
105 |
+ fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/lto-wrapper |
106 |
+ fperms 755 ${PREFIX}/libexec/gprbuild/gprbind |
107 |
+ fperms 755 ${PREFIX}/libexec/gprbuild/gprlib |
108 |
+} |
109 |
+ |
110 |
+pkg_postinst () { |
111 |
+ einfo "GNAT GPL is now installed. To launch it, you must put" |
112 |
+ einfo " ${PREFIX}/bin" |
113 |
+ einfo "in front of your PATH environment variable. The following" |
114 |
+ einfo "commands enable you to do this:" |
115 |
+ einfo " PATH=${PREFIX}/bin:\$PATH; export PATH (Bourne shell)" |
116 |
+ einfo " setenv PATH ${PREFIX}/bin:\$PATH (C shell)" |
117 |
+ einfo " Thank you for installing GNAT GPL Edition" |
118 |
+} |