diff options
author | George Shapovalov <george@gentoo.org> | 2003-07-25 05:46:18 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2003-07-25 05:46:18 +0000 |
commit | 669bb264ef4f203fc6f698ad2fc0f9af81c8c2ea (patch) | |
tree | f0f86839ed59940cd0f7d2d3f33a9d57058d26e9 /dev-ada | |
parent | new package: posix bindings for ada (diff) | |
download | gentoo-2-669bb264ef4f203fc6f698ad2fc0f9af81c8c2ea.tar.gz gentoo-2-669bb264ef4f203fc6f698ad2fc0f9af81c8c2ea.tar.bz2 gentoo-2-669bb264ef4f203fc6f698ad2fc0f9af81c8c2ea.zip |
new package: posix bindings for ada
Diffstat (limited to 'dev-ada')
-rw-r--r-- | dev-ada/florist/ChangeLog | 11 | ||||
-rw-r--r-- | dev-ada/florist/Manifest | 3 | ||||
-rw-r--r-- | dev-ada/florist/files/digest-florist-3.15p | 1 | ||||
-rw-r--r-- | dev-ada/florist/florist-3.15p.ebuild | 55 |
4 files changed, 69 insertions, 1 deletions
diff --git a/dev-ada/florist/ChangeLog b/dev-ada/florist/ChangeLog new file mode 100644 index 000000000000..1444f1633223 --- /dev/null +++ b/dev-ada/florist/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-ada/florist +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/dev-ada/florist/ChangeLog,v 1.1 2003/07/25 05:46:05 george Exp $ + +*florist-3.15p (24 Jul 2003) + + 24 Jul 2003; George Shapovalov <george@gentoo.org> florist-3.15p.ebuild, Manifest, files/{digest-florist-3.15p} : + initial release (#11290) + POSIX Ada Bindings + ebuild submitted by Mikko Ala-Fossi <maf@iki.fi> + and cleaned up and made GNAE compatible by David Holm <dholm@telia.com> diff --git a/dev-ada/florist/Manifest b/dev-ada/florist/Manifest index 3f292cefe69f..ad71a9e87c41 100644 --- a/dev-ada/florist/Manifest +++ b/dev-ada/florist/Manifest @@ -1,2 +1,3 @@ -MD5 fb1e6da7d108385322e181f47137c651 florist-3.15p.ebuild 1220 +MD5 6c290e86b71a8089b976e5971a71c873 florist-3.15p.ebuild 1319 +MD5 f5d78c982d7f45d91349ddb58ef1134e ChangeLog 523 MD5 67ebef620f7ec165399f27a7ce523f74 files/digest-florist-3.15p 66 diff --git a/dev-ada/florist/files/digest-florist-3.15p b/dev-ada/florist/files/digest-florist-3.15p new file mode 100644 index 000000000000..a7823707d583 --- /dev/null +++ b/dev-ada/florist/files/digest-florist-3.15p @@ -0,0 +1 @@ +MD5 988e08ee86e022249fed79345b25921f florist-3.15p-src.tgz 264898 diff --git a/dev-ada/florist/florist-3.15p.ebuild b/dev-ada/florist/florist-3.15p.ebuild new file mode 100644 index 000000000000..e6bb94936e90 --- /dev/null +++ b/dev-ada/florist/florist-3.15p.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ada/florist/florist-3.15p.ebuild,v 1.1 2003/07/25 05:46:05 george Exp $ + +inherit gnat + +DESCRIPTION="POSIX Ada Bindings" +HOMEPAGE="http://www.cs.fsu.edu/~baker/florist.html" +SRC_URI="ftp://cs.nyu.edu/pub/gnat/3.15p/florist-3.15p-src.tgz" + +DEPEND="dev-lang/gnat" +RDEPEND="" +LICENSE="GMGPL" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +S="${WORKDIR}/${P}-src" + +src_compile() { + sed -i -e "s:GCST(\"SIGRTMAX\", SIGRTMAX:GCST(\"SIGRTMAX\", (NSIG - 1):" c-posix.c + econf || die "./configure failed" + + emake \ + GCCFLAGS="${CFLAGS} -fPIC" \ + GNATMAKEFLAGS2B="-cargs -gnatpg ${ADACFLAGS} -fPIC -largs \$(LIBS)" \ + || die + + # In addition we also generate the shared version of the library + mkdir ${S}/t + pushd ${S}/t + ar xv ../floristlib/libflorist.a + ${ADAC} -shared -o ../floristlib/libflorist-${PV}.so.1 *.o + cd .. + rm -rf t + popd +} + +src_install() { + dodoc README + + insinto /usr/lib/ada/adalib/florist + doins floristlib/libflorist.a + doins floristlib/libflorist-${PV}.so.1 + doins floristlib/*.ali + + insinto /usr/lib/ada/adainclude/florist + doins floristlib/*.ads + doins floristlib/*.adb + + cd ${D}/usr/lib/ada/adalib/florist + ln -s libflorist-${PV}.so.1 libflorist.so + cd ${S} +} + |