diff options
author | George Shapovalov <george@gentoo.org> | 2003-08-13 04:52:27 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2003-08-13 04:52:27 +0000 |
commit | 478ecd7913dec4fbd71ae3a528d61ba3e20f6a41 (patch) | |
tree | 079539b89a646a09cf2319149bc38b146aa2d931 /dev-ada/adasockets | |
parent | new package: gnat sockets bindings (diff) | |
download | historical-478ecd7913dec4fbd71ae3a528d61ba3e20f6a41.tar.gz historical-478ecd7913dec4fbd71ae3a528d61ba3e20f6a41.tar.bz2 historical-478ecd7913dec4fbd71ae3a528d61ba3e20f6a41.zip |
new package: gnat sockets bindings
Diffstat (limited to 'dev-ada/adasockets')
-rw-r--r-- | dev-ada/adasockets/Manifest | 4 | ||||
-rw-r--r-- | dev-ada/adasockets/adasockets-1.7.ebuild | 49 | ||||
-rw-r--r-- | dev-ada/adasockets/files/digest-adasockets-1.7 | 1 | ||||
-rw-r--r-- | dev-ada/adasockets/metadata.xml | 5 |
4 files changed, 58 insertions, 1 deletions
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> |