summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-08-13 04:52:27 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-08-13 04:52:27 +0000
commitd098ec19480108b244525969fc9591b3d89c8453 (patch)
tree124fc9d726c06a000d4729538fc6a072c55d7256 /dev-ada
parentnew package: gnat sockets bindings (diff)
downloadgentoo-2-d098ec19480108b244525969fc9591b3d89c8453.tar.gz
gentoo-2-d098ec19480108b244525969fc9591b3d89c8453.tar.bz2
gentoo-2-d098ec19480108b244525969fc9591b3d89c8453.zip
new package: gnat sockets bindings
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/adasockets/ChangeLog10
-rw-r--r--dev-ada/adasockets/Manifest4
-rw-r--r--dev-ada/adasockets/adasockets-1.7.ebuild49
-rw-r--r--dev-ada/adasockets/files/digest-adasockets-1.71
-rw-r--r--dev-ada/adasockets/metadata.xml5
5 files changed, 68 insertions, 1 deletions
diff --git a/dev-ada/adasockets/ChangeLog b/dev-ada/adasockets/ChangeLog
new file mode 100644
index 000000000000..a9433a79ec55
--- /dev/null
+++ b/dev-ada/adasockets/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ada/adasockets
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/adasockets/ChangeLog,v 1.1 2003/08/13 04:52:24 george Exp $
+
+*adasockets-1.7 (12 Aug 2003)
+
+ 12 Aug 2003; George Shapovalov <george@gentoo.org> adasockets-1.7.ebuild, Manifest, files/{digest-adasockets-1.7} :
+ initial release (#23822)
+ An Interface to BSD sockets from Ada (TCP, UDP and multicast).
+ ebuild submitted by David Holm <dholm@gentoo.org>
diff --git a/dev-ada/adasockets/Manifest b/dev-ada/adasockets/Manifest
index 0729dce1cc74..e58e7786a225 100644
--- a/dev-ada/adasockets/Manifest
+++ b/dev-ada/adasockets/Manifest
@@ -1,2 +1,4 @@
-MD5 f48d3cf8faf253864e7469a7d5455b3a adasockets-1.7.ebuild 1174
+MD5 27c299cdbf0a827db5b1d1dae117adec adasockets-1.7.ebuild 1415
+MD5 ac64df9e6ada69e25ba6ea9ca02e1af3 ChangeLog 503
+MD5 e8e274a5057d2f205a38206204250c79 metadata.xml 156
MD5 42f83eb514ebd3dea38e2b72889414b4 files/digest-adasockets-1.7 66
diff --git a/dev-ada/adasockets/adasockets-1.7.ebuild b/dev-ada/adasockets/adasockets-1.7.ebuild
new file mode 100644
index 000000000000..45dca79cfe7d
--- /dev/null
+++ b/dev-ada/adasockets/adasockets-1.7.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/adasockets/adasockets-1.7.ebuild,v 1.1 2003/08/13 04:52:25 george Exp $
+
+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"
+RDEPEND=""
+SLOT="0"
+IUSE=""
+KEYWORDS="~x86"
+
+inherit gnat
+
+src_compile() {
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --libdir=/usr/lib/ada/adalib \
+ --includedir=/usr/lib/ada/adainclude \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man || die "./configure failed"
+
+ 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*
+ 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
+
+ insinto /usr/lib/ada/adainclude/adasockets
+ doins src/sockets*.ads
+
+ 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
+}
diff --git a/dev-ada/adasockets/files/digest-adasockets-1.7 b/dev-ada/adasockets/files/digest-adasockets-1.7
new file mode 100644
index 000000000000..c503d117c525
--- /dev/null
+++ b/dev-ada/adasockets/files/digest-adasockets-1.7
@@ -0,0 +1 @@
+MD5 c1c19b99ce3e8e3cc2d2b197b9abeddb adasockets-1.7.tar.gz 588239
diff --git a/dev-ada/adasockets/metadata.xml b/dev-ada/adasockets/metadata.xml
new file mode 100644
index 000000000000..aec150231c3f
--- /dev/null
+++ b/dev-ada/adasockets/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>