summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2005-02-23 17:49:56 +0000
committerDavid Holm <dholm@gentoo.org>2005-02-23 17:49:56 +0000
commite5b2cb15016c135fa549274964f20a5bf27636ad (patch)
treefc8979450e535f299155599b2340ed4959219fe2 /dev-ada
parentminor changes (diff)
downloadgentoo-2-e5b2cb15016c135fa549274964f20a5bf27636ad.tar.gz
gentoo-2-e5b2cb15016c135fa549274964f20a5bf27636ad.tar.bz2
gentoo-2-e5b2cb15016c135fa549274964f20a5bf27636ad.zip
Version bumped
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/adasockets/ChangeLog8
-rw-r--r--dev-ada/adasockets/Manifest4
-rw-r--r--dev-ada/adasockets/adasockets-1.8.4.4.ebuild67
-rw-r--r--dev-ada/adasockets/files/digest-adasockets-1.8.4.41
4 files changed, 78 insertions, 2 deletions
diff --git a/dev-ada/adasockets/ChangeLog b/dev-ada/adasockets/ChangeLog
index 1374391abb92..ee3a94914a00 100644
--- a/dev-ada/adasockets/ChangeLog
+++ b/dev-ada/adasockets/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ada/adasockets
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/adasockets/ChangeLog,v 1.11 2005/02/23 16:16:30 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/adasockets/ChangeLog,v 1.12 2005/02/23 17:49:56 dholm Exp $
+
+*adasockets-1.8.4.4 (23 Feb 2005)
+
+ 23 Feb 2005; David Holm <dholm@gentoo.org> +adasockets-1.8.4.4.ebuild:
+ Version bumped, added fixes from Maxim Reznik <reznikmm (at) front (dot) ru>
+ (Closing bug #61898)
23 Feb 2005; David Holm <dholm@gentoo.org> adasockets-1.7-r1.ebuild:
Fixed gnat dependency
diff --git a/dev-ada/adasockets/Manifest b/dev-ada/adasockets/Manifest
index b356b8467182..ffc9daab9ee5 100644
--- a/dev-ada/adasockets/Manifest
+++ b/dev-ada/adasockets/Manifest
@@ -1,4 +1,6 @@
-MD5 7f37c5703ad973559d5d91448fccc2fe ChangeLog 1352
+MD5 b7456305ff8e89f9a194649993de012e ChangeLog 1563
MD5 7fbf01a68e8d81db063194cc634cf6b4 metadata.xml 646
MD5 c542d7ffdfa54f24bfa93c039751cbfb adasockets-1.7-r1.ebuild 2118
+MD5 49b96ffc87bcab2a2c5dd6d0bd102262 adasockets-1.8.4.4.ebuild 2127
MD5 42f83eb514ebd3dea38e2b72889414b4 files/digest-adasockets-1.7-r1 66
+MD5 84135103aa73e4e7becf89a0b0a3138b files/digest-adasockets-1.8.4.4 70
diff --git a/dev-ada/adasockets/adasockets-1.8.4.4.ebuild b/dev-ada/adasockets/adasockets-1.8.4.4.ebuild
new file mode 100644
index 000000000000..db1282492a52
--- /dev/null
+++ b/dev-ada/adasockets/adasockets-1.8.4.4.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/adasockets/adasockets-1.8.4.4.ebuild,v 1.1 2005/02/23 17:49:56 dholm Exp $
+
+inherit eutils gnat
+
+DESCRIPTION="An Interface to BSD sockets from Ada (TCP, UDP and multicast)."
+SRC_URI="http://www.rfc1149.net/download/adasockets/${P}.tar.gz"
+HOMEPAGE="http://www.rfc1149.net/devel/adasockets/"
+LICENSE="GMGPL"
+
+DEPEND="dev-lang/gnat
+ >=sys-apps/sed-4"
+RDEPEND=""
+SLOT="0"
+IUSE=""
+KEYWORDS="~x86 ~ppc"
+
+src_compile() {
+ econf --libdir=/usr/lib/ada/adalib \
+ --includedir=/usr/lib/ada/adainclude || die "./configure failed"
+ sed -i -e "s|-I\$libdir|-I/usr/lib/ada/adainclude|" src/adasockets-config.in
+
+ unset ADA_INCLUDE_PATH
+ unset ADA_OBJECTS_PATH
+ emake || die
+}
+
+src_install () {
+ cd ${S}
+ #doins copies symlinks as regular files, resorting to manual cp
+ dodir /usr/lib/ada/adalib/adasockets
+ cp -d src/.libs/lib*.so* ${D}/usr/lib/ada/adalib/adasockets
+ chmod 0755 ${D}/usr/lib/ada/adalib/adasockets/lib*.so*
+ dosym /usr/lib/ada/adalib/adasockets/libadasockets.so /usr/lib
+ dosym /usr/lib/ada/adalib/adasockets/libadasockets.so.0 /usr/lib
+ dosym /usr/lib/ada/adalib/adasockets/libadasockets.so.0.0.0 /usr/lib
+ insinto /usr/lib/ada/adalib/adasockets
+ doins src/.libs/lib*.a
+ chmod 0644 ${D}/usr/lib/ada/adalib/adasockets/lib*.a
+ doins src/sockets*.ali
+ chmod 0444 ${D}/usr/lib/ada/adalib/adasockets/sockets*.ali
+
+ insinto /usr/lib/ada/adainclude/adasockets
+ doins src/sockets*.ad[sb]
+
+ dodoc AUTHORS COPYING INSTALL NEWS README
+ dodoc doc/adasockets.pdf doc/adasockets.ps
+ doinfo doc/adasockets.info
+ doman man/adasockets-config.1
+ dobin src/adasockets-config
+
+ #set up environment
+ dodir /etc/env.d
+ echo "ADA_OBJECTS_PATH=/usr/lib/ada/adalib/${PN}" \
+ > ${D}/etc/env.d/55adasockets
+ echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" \
+ >> ${D}/etc/env.d/55adasockets
+}
+
+pkg_postinst() {
+ einfo "The envaironment has been set up to make gnat automatically find files for"
+ einfo "AdaSockets. 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/adasockets/files/digest-adasockets-1.8.4.4 b/dev-ada/adasockets/files/digest-adasockets-1.8.4.4
new file mode 100644
index 000000000000..e30913965d3d
--- /dev/null
+++ b/dev-ada/adasockets/files/digest-adasockets-1.8.4.4
@@ -0,0 +1 @@
+MD5 debb705135195ceca64fe5caaf8e85fb adasockets-1.8.4.4.tar.gz 674295