summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2003-08-14 01:02:19 +0000
committerDavid Holm <dholm@gentoo.org>2003-08-14 01:02:19 +0000
commit50706652199d7aeded837dfbceac4e43e722b835 (patch)
tree41e0fa452c0cede36eaa06716358cdecd30f1f8e /dev-ada
parentAdded symlinks into /usr/lib for easy access. Fixed bug with gtkada-config. (diff)
downloadhistorical-50706652199d7aeded837dfbceac4e43e722b835.tar.gz
historical-50706652199d7aeded837dfbceac4e43e722b835.tar.bz2
historical-50706652199d7aeded837dfbceac4e43e722b835.zip
Added symlinks into /usr/lib for easy access. Fixed bug with gtkada-config.
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/gtkada/Manifest4
-rw-r--r--dev-ada/gtkada/files/digest-gtkada-2.2.0-r11
-rw-r--r--dev-ada/gtkada/gtkada-2.2.0-r1.ebuild64
3 files changed, 67 insertions, 2 deletions
diff --git a/dev-ada/gtkada/Manifest b/dev-ada/gtkada/Manifest
index 577d06a77a31..8b76d52ab0dd 100644
--- a/dev-ada/gtkada/Manifest
+++ b/dev-ada/gtkada/Manifest
@@ -1,5 +1,5 @@
-MD5 0160473450256f65767be3937f99d765 gtkada-2.2.0-r1.ebuild 1795
-MD5 eff2183cd9845494873578f598d67041 ChangeLog 536
+MD5 38e1dd527ad0c04365b85555e53bf78a gtkada-2.2.0-r1.ebuild 1894
+MD5 f20ec2499dd979772d07116c80e456ef ChangeLog 831
MD5 3dfabaaad0072ef44e7777598a99ddcd gtkada-2.2.0.ebuild 1345
MD5 e8e274a5057d2f205a38206204250c79 metadata.xml 156
MD5 3272d807414b7bee90c1c4dc64971103 files/gtkada-2.2.0-gentoo.patch 541
diff --git a/dev-ada/gtkada/files/digest-gtkada-2.2.0-r1 b/dev-ada/gtkada/files/digest-gtkada-2.2.0-r1
new file mode 100644
index 000000000000..3d84836a3479
--- /dev/null
+++ b/dev-ada/gtkada/files/digest-gtkada-2.2.0-r1
@@ -0,0 +1 @@
+MD5 e409953a080e677f78518a61aacced25 GtkAda-2.2.0.tgz 3186068
diff --git a/dev-ada/gtkada/gtkada-2.2.0-r1.ebuild b/dev-ada/gtkada/gtkada-2.2.0-r1.ebuild
new file mode 100644
index 000000000000..84702a83608b
--- /dev/null
+++ b/dev-ada/gtkada/gtkada-2.2.0-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/gtkada-2.2.0-r1.ebuild,v 1.1 2003/08/14 01:01:32 dholm Exp $
+
+Name="GtkAda"
+DESCRIPTION="Gtk+ bindings to the Ada language"
+HOMEPAGE="http://libre.act-europe.fr/GtkAda"
+SRC_URI="http://libre.act-europe.fr/${Name}/${Name}-${PV}.tgz"
+
+LICENSE="GMGPL"
+SLOT="1"
+KEYWORDS="~x86"
+IUSE="nls opengl"
+
+DEPEND="dev-lang/gnat
+ >=x11-libs/gtk+-2.2.0"
+RDEPEND=""
+
+S="${WORKDIR}/${Name}-${PV}"
+
+inherit gnat
+
+src_compile() {
+ local myconf
+ myconf=""
+
+ use nls || myconf="${myconf} --disable-nls"
+ use opengl && myconf="${myconf} --with-GL=auto"
+
+ patch -p1 < ${FILESDIR}/${P}-gentoo.patch
+ sed -i -e "s|-I\$prefix/include|-I/usr/lib/ada/adainclude|" \
+ src/gtkada-config.in
+ sed -i -e "s|-L\$prefix/include|-L/usr/lib/ada/adalib|" \
+ src/gtkada-config.in
+
+ econf ${myconf} || die "./configure failed"
+
+ make GNATFLAGS="${ADACFLAGS}" || die
+}
+
+src_install() {
+ make prefix=${D}/usr \
+ incdir=${D}/usr/lib/ada/adainclude/gtkada \
+ libdir=${D}/usr/lib/ada/adalib/gtkada \
+ alidir=${D}/usr/lib/ada/adalib/gtkada install \
+ || die
+
+ dosym /usr/lib/ada/adalib/gtkada/libgtkada_glade-2.2.so.0 /usr/lib
+ dosym /usr/lib/ada/adalib/gtkada/libgtkada_gl-2.2.so.0 /usr/lib
+ dosym /usr/lib/ada/adalib/gtkada/libgnomeada-2.2.so.0 /usr/lib
+ dosym /usr/lib/ada/adalib/gtkada/libgtkada-2.2.so.0 /usr/lib
+ dosym /usr/lib/ada/adalib/gtkada/libgtkada_glade.so /usr/lib
+ dosym /usr/lib/ada/adalib/gtkada/libgtkada_gl.so /usr/lib
+ dosym /usr/lib/ada/adalib/gtkada/libgnomeada.so /usr/lib
+ dosym /usr/lib/ada/adalib/gtkada/libgtkada.so /usr/lib
+
+ #arrange docs properly
+ dodoc ANNOUNCE AUTHORS COPYING README
+ cd ${D}/usr
+ mv doc/${Name}/* share/${PN}/examples/ share/doc/${PF}
+ rm -rf doc/ share/${PN}/
+ cd ${S} #in case need to add anything afterwards
+}
+