1 |
commit: 8ad7ab970f6c99a8daea4a3db8a40344e119afe6 |
2 |
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 17 07:36:39 2019 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 17 07:36:39 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ad7ab97 |
7 |
|
8 |
dev-ada/gps-bin: 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/gps-bin/gps-bin-2016-r1.ebuild | 62 ++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 62 insertions(+) |
15 |
|
16 |
diff --git a/dev-ada/gps-bin/gps-bin-2016-r1.ebuild b/dev-ada/gps-bin/gps-bin-2016-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..2ce82f7eeb6 |
19 |
--- /dev/null |
20 |
+++ b/dev-ada/gps-bin/gps-bin-2016-r1.ebuild |
21 |
@@ -0,0 +1,62 @@ |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ADA_COMPAT=( gnat_2016 ) |
27 |
+inherit ada toolchain-funcs |
28 |
+ |
29 |
+MY_P=gnat-gpl-2016-x86_64-linux-bin |
30 |
+ |
31 |
+DESCRIPTION="The GNAT Programming Studio" |
32 |
+HOMEPAGE="http://libre.adacore.com/tools/gps/" |
33 |
+SRC_URI="http://mirrors.cdn.adacore.com/art/5739cefdc7a447658e0b016b -> ${MY_P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="GPL-3" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64" |
38 |
+IUSE="" |
39 |
+ |
40 |
+DEPEND="${ADA_DEPS}" |
41 |
+RDEPEND="${DEPEND} |
42 |
+ dev-ada/gnatcoll[${ADA_USEDEP},iconv,postgres,projects,readline,sqlite] |
43 |
+ dev-libs/atk |
44 |
+ dev-libs/glib |
45 |
+ dev-libs/gobject-introspection |
46 |
+ dev-libs/libffi |
47 |
+ media-libs/fontconfig |
48 |
+ media-libs/freetype |
49 |
+ sys-devel/llvm |
50 |
+ sys-devel/clang |
51 |
+ x11-libs/cairo |
52 |
+ x11-libs/gdk-pixbuf |
53 |
+ x11-libs/gtk+ |
54 |
+ x11-libs/pango |
55 |
+ x11-themes/adwaita-icon-theme |
56 |
+ x11-themes/hicolor-icon-theme" |
57 |
+REQUIRED_USE="${ADA_REQUIRED_USE}" |
58 |
+ |
59 |
+S="${WORKDIR}"/${MY_P} |
60 |
+ |
61 |
+src_compile() { |
62 |
+ : |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ into /opt/${P} |
67 |
+ dobin bin/gps_exe |
68 |
+ dobin bin/gps_cli |
69 |
+ insinto /opt/${P}/share |
70 |
+ doins -r share/doc |
71 |
+ doins -r share/examples |
72 |
+ doins -r share/gpr |
73 |
+ doins -r share/gprconfig |
74 |
+ doins -r share/gps |
75 |
+ doins -r share/themes |
76 |
+ insinto /opt/${P}/lib/ |
77 |
+ doins -r lib/python2.7 |
78 |
+ dosym ../../../usr/bin/gnatinspect /opt/${P}/bin/gnatinspect |
79 |
+ dosym ../../../usr/bin/${GNATLS} /opt/${P}/bin/gnatls |
80 |
+ dosym ../../../usr/bin/${GNATMAKE} /opt/${P}/bin/gnatmake |
81 |
+ dosym ../../../usr/bin/${GNAT} /opt/${P}/bin/gnat |
82 |
+ dosym ../../opt/${P}/bin/gps_exe /usr/bin/gps |
83 |
+} |