summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-07-14 23:13:23 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-07-14 23:13:23 +0000
commit00d77952a8b14ab83840e4378935895bc75f407d (patch)
tree26a8633412b12a02ffcafaa4d3a6cdd2ba3a9469 /dev-ada
parentUpdates for TLS and IPV6 (diff)
downloadhistorical-00d77952a8b14ab83840e4378935895bc75f407d.tar.gz
historical-00d77952a8b14ab83840e4378935895bc75f407d.tar.bz2
historical-00d77952a8b14ab83840e4378935895bc75f407d.zip
new package: ada gtk bindings
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/garlic/Manifest1
-rw-r--r--dev-ada/garlic/metadata.xml5
-rw-r--r--dev-ada/gtkada/ChangeLog10
-rw-r--r--dev-ada/gtkada/Manifest3
-rw-r--r--dev-ada/gtkada/files/digest-gtkada-2.2.01
-rw-r--r--dev-ada/gtkada/files/gtkada-2.2.0-gentoo.patch14
-rw-r--r--dev-ada/gtkada/gtkada-2.2.0.ebuild56
-rw-r--r--dev-ada/gtkada/metadata.xml5
8 files changed, 95 insertions, 0 deletions
diff --git a/dev-ada/garlic/Manifest b/dev-ada/garlic/Manifest
index 098984ff6dc6..2a467d245d06 100644
--- a/dev-ada/garlic/Manifest
+++ b/dev-ada/garlic/Manifest
@@ -1,3 +1,4 @@
MD5 959d51e58255603114d7f9899496f2bc ChangeLog 489
+MD5 e8e274a5057d2f205a38206204250c79 metadata.xml 156
MD5 bc5a5724c9d4dcf9a695f11f8bd2019c garlic-3.15p.ebuild 1621
MD5 c3d08801b20b2340914aaf73923b6762 files/digest-garlic-3.15p 65
diff --git a/dev-ada/garlic/metadata.xml b/dev-ada/garlic/metadata.xml
new file mode 100644
index 000000000000..aec150231c3f
--- /dev/null
+++ b/dev-ada/garlic/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ada</herd>
+</pkgmetadata>
diff --git a/dev-ada/gtkada/ChangeLog b/dev-ada/gtkada/ChangeLog
new file mode 100644
index 000000000000..dd35ecf9c8bd
--- /dev/null
+++ b/dev-ada/gtkada/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ada/gtkada
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/ChangeLog,v 1.1 2003/07/14 23:13:21 george Exp $
+
+*gtkada-2.2.0.ebuild (14 Jul 2003)
+
+ 14 Jul 2003; George Shapovalov <george@gentoo.org> gtkada-2.2.0.ebuild, Manifest, files/{digest-gtkada-2.2.0,gtkada-2.2.0-gentoo.patch} :
+ initial release (#11292)
+ Gtk+ bindings to the Ada language
+ ebuild submitted by Mikko Ala-Fossi <maf@iki.fi> and updated by David Holm <dholm@telia.com>
diff --git a/dev-ada/gtkada/Manifest b/dev-ada/gtkada/Manifest
new file mode 100644
index 000000000000..30c11d37aac1
--- /dev/null
+++ b/dev-ada/gtkada/Manifest
@@ -0,0 +1,3 @@
+MD5 3edf9dc11a151c0977e4f8388e6b0146 gtkada-2.2.0.ebuild 1039
+MD5 3272d807414b7bee90c1c4dc64971103 files/gtkada-2.2.0-gentoo.patch 541
+MD5 27c6dd96e1ff25f77f4f3a50b4961a24 files/digest-gtkada-2.2.0 62
diff --git a/dev-ada/gtkada/files/digest-gtkada-2.2.0 b/dev-ada/gtkada/files/digest-gtkada-2.2.0
new file mode 100644
index 000000000000..3d84836a3479
--- /dev/null
+++ b/dev-ada/gtkada/files/digest-gtkada-2.2.0
@@ -0,0 +1 @@
+MD5 e409953a080e677f78518a61aacced25 GtkAda-2.2.0.tgz 3186068
diff --git a/dev-ada/gtkada/files/gtkada-2.2.0-gentoo.patch b/dev-ada/gtkada/files/gtkada-2.2.0-gentoo.patch
new file mode 100644
index 000000000000..99d1d458faa8
--- /dev/null
+++ b/dev-ada/gtkada/files/gtkada-2.2.0-gentoo.patch
@@ -0,0 +1,14 @@
+diff -aur GtkAda-2.2.0.orig/src/gtkada-config.in GtkAda-2.2.0/src/gtkada-config.in
+--- GtkAda-2.2.0.orig/src/gtkada-config.in 2002-06-14 10:44:59.000000000 +0200
++++ GtkAda-2.2.0/src/gtkada-config.in 2003-07-04 13:27:17.000000000 +0200
+@@ -4,8 +4,8 @@
+ prefix=@prefix@
+
+ gtk_libs="@GTK_LIBS@"
+-gtkada_libs="-L$prefix/include/gtkada -L$prefix/lib"
+-gtkada_cflags="-I$prefix/include/gtkada"
++gtkada_libs="-L$prefix/lib/ada/adalib/gtkada -L$prefix/lib"
++gtkada_cflags="-I$prefix/lib/ada/adainclude/gtkada"
+ gtkada_lflags="-lgtkada"
+
+ usage()
diff --git a/dev-ada/gtkada/gtkada-2.2.0.ebuild b/dev-ada/gtkada/gtkada-2.2.0.ebuild
new file mode 100644
index 000000000000..173a4037e582
--- /dev/null
+++ b/dev-ada/gtkada/gtkada-2.2.0.ebuild
@@ -0,0 +1,56 @@
+# 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.ebuild,v 1.1 2003/07/14 23:13:21 george 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
+
+# ./configure \
+# --host=${CHOST} \
+# --prefix=/usr \
+# --infodir=/usr/share/info \
+# --mandir=/usr/share/man \
+ 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
+
+ #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
+}
+
diff --git a/dev-ada/gtkada/metadata.xml b/dev-ada/gtkada/metadata.xml
new file mode 100644
index 000000000000..aec150231c3f
--- /dev/null
+++ b/dev-ada/gtkada/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ada</herd>
+</pkgmetadata>