summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2019-09-17 09:36:39 +0200
committerTupone Alfredo <tupone@gentoo.org>2019-09-17 09:36:39 +0200
commit8ad7ab970f6c99a8daea4a3db8a40344e119afe6 (patch)
tree1d821149285013e1832e3a2428e11b20e170f819 /dev-ada
parentada.eclass: add export of GNAT (diff)
downloadgentoo-8ad7ab970f6c99a8daea4a3db8a40344e119afe6.tar.gz
gentoo-8ad7ab970f6c99a8daea4a3db8a40344e119afe6.tar.bz2
gentoo-8ad7ab970f6c99a8daea4a3db8a40344e119afe6.zip
dev-ada/gps-bin: simplify using 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/gps-bin/gps-bin-2016-r1.ebuild62
1 files changed, 62 insertions, 0 deletions
diff --git a/dev-ada/gps-bin/gps-bin-2016-r1.ebuild b/dev-ada/gps-bin/gps-bin-2016-r1.ebuild
new file mode 100644
index 000000000000..2ce82f7eeb66
--- /dev/null
+++ b/dev-ada/gps-bin/gps-bin-2016-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+ADA_COMPAT=( gnat_2016 )
+inherit ada toolchain-funcs
+
+MY_P=gnat-gpl-2016-x86_64-linux-bin
+
+DESCRIPTION="The GNAT Programming Studio"
+HOMEPAGE="http://libre.adacore.com/tools/gps/"
+SRC_URI="http://mirrors.cdn.adacore.com/art/5739cefdc7a447658e0b016b -> ${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="${ADA_DEPS}"
+RDEPEND="${DEPEND}
+ dev-ada/gnatcoll[${ADA_USEDEP},iconv,postgres,projects,readline,sqlite]
+ dev-libs/atk
+ dev-libs/glib
+ dev-libs/gobject-introspection
+ dev-libs/libffi
+ media-libs/fontconfig
+ media-libs/freetype
+ sys-devel/llvm
+ sys-devel/clang
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+
+ x11-libs/pango
+ x11-themes/adwaita-icon-theme
+ x11-themes/hicolor-icon-theme"
+REQUIRED_USE="${ADA_REQUIRED_USE}"
+
+S="${WORKDIR}"/${MY_P}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ into /opt/${P}
+ dobin bin/gps_exe
+ dobin bin/gps_cli
+ insinto /opt/${P}/share
+ doins -r share/doc
+ doins -r share/examples
+ doins -r share/gpr
+ doins -r share/gprconfig
+ doins -r share/gps
+ doins -r share/themes
+ insinto /opt/${P}/lib/
+ doins -r lib/python2.7
+ dosym ../../../usr/bin/gnatinspect /opt/${P}/bin/gnatinspect
+ dosym ../../../usr/bin/${GNATLS} /opt/${P}/bin/gnatls
+ dosym ../../../usr/bin/${GNATMAKE} /opt/${P}/bin/gnatmake
+ dosym ../../../usr/bin/${GNAT} /opt/${P}/bin/gnat
+ dosym ../../opt/${P}/bin/gps_exe /usr/bin/gps
+}