summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-07-14 01:44:49 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-07-14 01:44:49 +0000
commit250681724d9979cb06c4eaecc142e09f070e117d (patch)
treee5868ccd4d68d32ee9c76d5bf1fd3410caddbfe9 /dev-ada
parentnew package - The GNAT implementation of the ARM Annex for Distributed Systems. (diff)
downloadhistorical-250681724d9979cb06c4eaecc142e09f070e117d.tar.gz
historical-250681724d9979cb06c4eaecc142e09f070e117d.tar.bz2
historical-250681724d9979cb06c4eaecc142e09f070e117d.zip
new package - The GNAT implementation of the ARM Annex for Distributed Systems.
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/garlic/Manifest3
-rw-r--r--dev-ada/garlic/files/digest-garlic-3.15p1
-rw-r--r--dev-ada/garlic/garlic-3.15p.ebuild57
3 files changed, 60 insertions, 1 deletions
diff --git a/dev-ada/garlic/Manifest b/dev-ada/garlic/Manifest
index f364132d7607..098984ff6dc6 100644
--- a/dev-ada/garlic/Manifest
+++ b/dev-ada/garlic/Manifest
@@ -1,2 +1,3 @@
-MD5 c867c90503d5db1c5e97285d5262507c garlic-3.15p.ebuild 1452
+MD5 959d51e58255603114d7f9899496f2bc ChangeLog 489
+MD5 bc5a5724c9d4dcf9a695f11f8bd2019c garlic-3.15p.ebuild 1621
MD5 c3d08801b20b2340914aaf73923b6762 files/digest-garlic-3.15p 65
diff --git a/dev-ada/garlic/files/digest-garlic-3.15p b/dev-ada/garlic/files/digest-garlic-3.15p
new file mode 100644
index 000000000000..959a615989f3
--- /dev/null
+++ b/dev-ada/garlic/files/digest-garlic-3.15p
@@ -0,0 +1 @@
+MD5 44e478a03eef8d65d597558f826b3128 glade-3.15p-src.tgz 1061859
diff --git a/dev-ada/garlic/garlic-3.15p.ebuild b/dev-ada/garlic/garlic-3.15p.ebuild
new file mode 100644
index 000000000000..305e1086da78
--- /dev/null
+++ b/dev-ada/garlic/garlic-3.15p.ebuild
@@ -0,0 +1,57 @@
+# 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/garlic/garlic-3.15p.ebuild,v 1.1 2003/07/14 01:44:46 george Exp $
+
+S="${WORKDIR}/glade-${PV}-src"
+DESCRIPTION="The GNAT implementation of the ARM Annex for Distributed Systems."
+SRC_URI="http://gd.tuwien.ac.at/languages/ada/gnat/3.15p/glade/glade-${PV}-src.tgz"
+
+HOMEPAGE="http://www.gnat.com/"
+LICENSE="GMGPL"
+DEPEND="dev-lang/gnat"
+RDEPEND=""
+SLOT="0"
+IUSE=""
+KEYWORDS="~x86"
+
+inherit gnat
+
+src_compile() {
+ local CFLAGS="${ADACFLAGS} -fPIC"
+ local ADACFLAGS="${ADACFLAGS} -fPIC"
+
+# ./configure \
+# --host=${CHOST} \
+# --prefix=/usr \
+# --infodir=/usr/share/info \
+# --mandir=/usr/share/man || die "./configure failed"
+ econf || die "./configure failed"
+ emake || die
+
+ ${ADAC} -shared -Wl,-soname,libgarlic-${PV}.so.1 \
+ -o Garlic/libgarlic-${PV}.so.1 Garlic/*.o -lc
+}
+
+src_install () {
+ make prefix=${D}/usr \
+ GARLIC=${D}/usr/lib/ada/adainclude/garlic install || die
+
+ dodoc COPYING INSTALL NEWS README
+
+ insinto /usr/lib/ada/adalib/garlic
+ chmod 0755 Garlic/libgarlic-${PV}.so.1
+ doins Garlic/libgarlic-${PV}.so.1
+ cd ${D}/usr/lib/ada/adalib/garlic/
+ ln -s libgarlic-${PV}.so.1 libgarlic-${PV}.so
+ ln -s libgarlic-${PV}.so libgarlic.so
+ cd ${S}
+
+ # And of course, as usualy make install does not conform to GNAE
+ mv ${D}/usr/lib/ada/adainclude/garlic/*.ali \
+ ${D}/usr/lib/ada/adalib/garlic/
+ mv ${D}/usr/lib/ada/adainclude/garlic/lib*.a \
+ ${D}/usr/lib/ada/adalib/garlic/
+
+ #install examples
+ cp -r Examples ${D}/usr/share/doc/${PF}/
+}