summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2005-02-23 17:36:44 +0000
committerDavid Holm <dholm@gentoo.org>2005-02-23 17:36:44 +0000
commit728ecdb02da385aeb877544a65e274af28b837bd (patch)
tree5378df53835087dc2e1fd4289e81f9f35c2e6d1e /dev-ada/adabindx
parentBug #83081. (diff)
downloadgentoo-2-728ecdb02da385aeb877544a65e274af28b837bd.tar.gz
gentoo-2-728ecdb02da385aeb877544a65e274af28b837bd.tar.bz2
gentoo-2-728ecdb02da385aeb877544a65e274af28b837bd.zip
Fixed bug #74268
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-ada/adabindx')
-rw-r--r--dev-ada/adabindx/ChangeLog8
-rw-r--r--dev-ada/adabindx/Manifest4
-rw-r--r--dev-ada/adabindx/adabindx-0.7.2-r1.ebuild70
-rw-r--r--dev-ada/adabindx/files/digest-adabindx-0.7.2-r11
4 files changed, 81 insertions, 2 deletions
diff --git a/dev-ada/adabindx/ChangeLog b/dev-ada/adabindx/ChangeLog
index 71985eca8376..c433619862ab 100644
--- a/dev-ada/adabindx/ChangeLog
+++ b/dev-ada/adabindx/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ada/adabindx
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/adabindx/ChangeLog,v 1.11 2005/01/01 17:22:18 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/adabindx/ChangeLog,v 1.12 2005/02/23 17:36:44 dholm Exp $
+
+*adabindx-0.7.2-r1 (23 Feb 2005)
+
+ 23 Feb 2005; David Holm <dholm@gentoo.org> +adabindx-0.7.2-r1.ebuild:
+ Added fix for >=dev-lang/gnat-3.4.1, submitted by Bobby D. Bryant <bdbryant
+ (at) mail (dot) utexas (dot) edu> (Bug #74268)
29 Jun 2004; Aron Griffis <agriffis@gentoo.org> adabindx-0.7.2.ebuild:
add sed-4 dep
diff --git a/dev-ada/adabindx/Manifest b/dev-ada/adabindx/Manifest
index 784a8576bec2..baa1f9dfc494 100644
--- a/dev-ada/adabindx/Manifest
+++ b/dev-ada/adabindx/Manifest
@@ -1,5 +1,7 @@
-MD5 9c16820060f7e7f5fffd53518b19762a ChangeLog 1234
+MD5 255e5b919747849b8de3483f974360ca ChangeLog 1468
MD5 ec1f0439c3288378766fcc382a70a837 adabindx-0.7.2.ebuild 1795
MD5 04fabdb277cc755e6cfb58b42eee6675 metadata.xml 384
+MD5 725af4c9f669c0ec52849faf844a93a6 adabindx-0.7.2-r1.ebuild 1880
MD5 5850752cc78726ab7e19b4574c6b6b3c files/adabindx-0.7.2.diff.bz2 20067
MD5 8c577abf12ed815ffdc1400d2aee29c8 files/digest-adabindx-0.7.2 67
+MD5 8c577abf12ed815ffdc1400d2aee29c8 files/digest-adabindx-0.7.2-r1 67
diff --git a/dev-ada/adabindx/adabindx-0.7.2-r1.ebuild b/dev-ada/adabindx/adabindx-0.7.2-r1.ebuild
new file mode 100644
index 000000000000..3eba928f6022
--- /dev/null
+++ b/dev-ada/adabindx/adabindx-0.7.2-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/adabindx/adabindx-0.7.2-r1.ebuild,v 1.1 2005/02/23 17:36:44 dholm Exp $
+#
+
+inherit eutils gnat
+
+DESCRIPTION="An Ada-binding to the X Window System and *tif."
+SRC_URI="http://home.arcor.de/hfvogt/${P}.tar.bz2"
+HOMEPAGE="http://home.arcor.de/hfvogt/programming.html"
+
+LICENSE="GMGPL"
+DEPEND=">=dev-lang/gnat-3.14p
+ virtual/x11
+ >=sys-apps/sed-4"
+RDEPEND=""
+KEYWORDS="~x86 ~ppc"
+SLOT="0"
+IUSE=""
+
+src_unpack() {
+ unpack "${P}.tar.bz2"
+ cd "${S}"
+ bzip2 -cd ${FILESDIR}/${P}.diff.bz2 | patch -p1
+ sed -i -e "s/-O3.*/\${ADACFLAGS}/g" Local.conf
+ sed -i -e "s/Elmt_Size : size_t/Elmt_Size : constant size_t/" lib/i-csstli.adb
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install () {
+ dodoc CHANGES COPYING INSTALL README TODO
+
+ insinto /usr/lib/ada/adalib/adabindx
+# chmod 0644 lib/libadabindx.a
+# mv lib/libadabindx.a lib/libadabindx-${PV}.a
+ doins lib/libadabindx-${PV}.a
+# dosym /usr/lib/ada/adalib/adabindx/libadabindx-${PV}.a \
+# /usr/lib/ada/adalib/adabindx/libadabindx.a
+ doins lib/*.ali
+
+ cd ${D}/usr/lib/ada/adalib/adabindx/
+ ln -s libadabindx-${PV}.a libadabindx.a
+ cd ${S}
+
+ insinto /usr/lib/ada/adainclude/adabindx
+ doins lib/*.ads
+ doins lib/*.adb
+
+ #install examples
+ cp -r examples ${D}/usr/share/doc/${PF}/
+
+ #set up environment
+ dodir /etc/env.d
+ echo "ADA_OBJECTS_PATH=/usr/lib/ada/adalib/${PN}" \
+ > ${D}/etc/env.d/55adabindx
+ echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" \
+ >> ${D}/etc/env.d/55adabindx
+}
+
+pkg_postinst() {
+ einfo "The envaironment has been set up to make gnat automatically find files for"
+ einfo "AdaBindX. In order to immediately activate these settings please do:"
+ einfo "env-update"
+ einfo "source /etc/profile"
+ einfo "Otherwise the settings will become active next time you login"
+}
+
diff --git a/dev-ada/adabindx/files/digest-adabindx-0.7.2-r1 b/dev-ada/adabindx/files/digest-adabindx-0.7.2-r1
new file mode 100644
index 000000000000..f966d5995746
--- /dev/null
+++ b/dev-ada/adabindx/files/digest-adabindx-0.7.2-r1
@@ -0,0 +1 @@
+MD5 11f928c5b1bd7b38771b40f06d19e53d adabindx-0.7.2.tar.bz2 218613