summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ada/adasockets/adasockets-1.8.4.7.ebuild')
-rw-r--r--dev-ada/adasockets/adasockets-1.8.4.7.ebuild59
1 files changed, 0 insertions, 59 deletions
diff --git a/dev-ada/adasockets/adasockets-1.8.4.7.ebuild b/dev-ada/adasockets/adasockets-1.8.4.7.ebuild
deleted file mode 100644
index f9e7fe6f973..00000000000
--- a/dev-ada/adasockets/adasockets-1.8.4.7.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-WANT_AUTOCONF="2.1"
-
-inherit 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="virtual/ada"
-
-SLOT="0"
-IUSE=""
-KEYWORDS="~x86 ~amd64"
-
-# a location to temporarily keep common stuff installed by make install
-CommonInst="${WORKDIR}/common-install"
-
-lib_compile() {
- econf || die "./configure failed"
- emake || die
-}
-
-lib_install() {
- mv ${SL}/src/sockets*.ali ${DL}
- mv src/.libs/libadasockets.a ${DL}
- mv src/.libs/libadasockets.so* ${DL}
-
- # move common stuff out of $DL
- if [[ ! -d "${CommonInst}" ]] ; then
- # we need only one copy, its all identical
- mkdir "${CommonInst}"
- mv ${SL}/src/*.ad? "${CommonInst}"
- fi
-}
-
-src_install() {
- # sources
- dodir "${AdalibSpecsDir}/${PN}"
- insinto "${AdalibSpecsDir}/${PN}"
- doins "${CommonInst}"/sockets*.ad?
-
- # environment
- echo "ADA_OBJECTS_PATH=%DL%" > ${LibEnv}
- echo "ADA_INCLUDE_PATH=${AdalibSpecsDir}/${PN}" >> ${LibEnv}
- echo "LDPATH=%DL%" >> ${LibEnv}
-
- gnat_src_install
-
- # and docs
- dodoc AUTHORS INSTALL NEWS README doc/adasockets.ps
- doinfo doc/adasockets.info
- insinto /usr/share/doc/${PF}
- doins doc/adasockets.pdf
-}