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
commit6d9fd9cb1302b64da86c3fbb828099636fcc0020 (patch)
tree6e5239e28dfa9e50ba5eb2a9097b116b6c123aca /dev-ada
parentBug #83081. (diff)
downloadhistorical-6d9fd9cb1302b64da86c3fbb828099636fcc0020.tar.gz
historical-6d9fd9cb1302b64da86c3fbb828099636fcc0020.tar.bz2
historical-6d9fd9cb1302b64da86c3fbb828099636fcc0020.zip
Fixed bug #74268
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'dev-ada')
-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..13f4544d6092 100644
--- a/dev-ada/adabindx/Manifest
+++ b/dev-ada/adabindx/Manifest
@@ -1,5 +1,7 @@
-MD5 9c16820060f7e7f5fffd53518b19762a ChangeLog 1234
+MD5 be52b36238c9725b179c67a24ed029c8 ChangeLog 1463
MD5 ec1f0439c3288378766fcc382a70a837 adabindx-0.7.2.ebuild 1795
MD5 04fabdb277cc755e6cfb58b42eee6675 metadata.xml 384
+MD5 4f315ea75e2a87c5c3fbb74d2e9c588e 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