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
commit77dacc86f7abbe385cfaec71ce940ac492bd5b5e (patch)
tree80285359096bcc0814559d36bdb9e93cd790adcb /dev-ada/garlic
parentnew package - The GNAT implementation of the ARM Annex for Distributed Systems. (diff)
downloadgentoo-2-77dacc86f7abbe385cfaec71ce940ac492bd5b5e.tar.gz
gentoo-2-77dacc86f7abbe385cfaec71ce940ac492bd5b5e.tar.bz2
gentoo-2-77dacc86f7abbe385cfaec71ce940ac492bd5b5e.zip
new package - The GNAT implementation of the ARM Annex for Distributed Systems.
Diffstat (limited to 'dev-ada/garlic')
-rw-r--r--dev-ada/garlic/ChangeLog10
-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
4 files changed, 70 insertions, 1 deletions
diff --git a/dev-ada/garlic/ChangeLog b/dev-ada/garlic/ChangeLog
new file mode 100644
index 000000000000..8a186b990354
--- /dev/null
+++ b/dev-ada/garlic/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ada/garlic
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/garlic/ChangeLog,v 1.1 2003/07/14 01:44:46 george Exp $
+
+*garlic-3.15p.ebuild (13 Jul 2003)
+
+ 13 Jul 2003; George Shapovalov <george@gentoo.org> garlic-3.15p.ebuild, files/{digest-garlic-3.15p} :
+ initial release (# 23695)
+ The GNAT implementation of the ARM Annex for Distributed Systems.
+ ebuild submitted by David Holm <dholm@telia.com>
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}/
+}