summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2007-02-05 10:35:15 +0000
committerGeorge Shapovalov <george@gentoo.org>2007-02-05 10:35:15 +0000
commitfb83d3f7cac1acdd591b68cd5c9e7e5b78f3554b (patch)
treed6e255fb53972ca392a98a777174e8f719bdb1b2 /dev-ada
parentUpdate admin directory rather than patching configure to remove aRTs checks. (diff)
downloadhistorical-fb83d3f7cac1acdd591b68cd5c9e7e5b78f3554b.tar.gz
historical-fb83d3f7cac1acdd591b68cd5c9e7e5b78f3554b.tar.bz2
historical-fb83d3f7cac1acdd591b68cd5c9e7e5b78f3554b.zip
initial commit of Ada Distributed Annex realisation
Package-Manager: portage-2.1.2-r5
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/glade/ChangeLog9
-rw-r--r--dev-ada/glade/Manifest16
-rw-r--r--dev-ada/glade/files/digest-glade-2006.03
-rw-r--r--dev-ada/glade/glade-2006.0.ebuild86
-rw-r--r--dev-ada/glade/metadata.xml5
5 files changed, 119 insertions, 0 deletions
diff --git a/dev-ada/glade/ChangeLog b/dev-ada/glade/ChangeLog
new file mode 100644
index 000000000000..6c6af47ae0d4
--- /dev/null
+++ b/dev-ada/glade/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-ada/glade
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/glade/ChangeLog,v 1.1 2007/02/05 10:35:15 george Exp $
+
+*glade-2006.0 (05 Feb 2007)
+
+ 05 Feb 2007; George Shapovalov <george@gentoo.org> +glade-2006.0.ebuild,+metadata.xml :
+ initial addition
+
diff --git a/dev-ada/glade/Manifest b/dev-ada/glade/Manifest
new file mode 100644
index 000000000000..5694f6cefcac
--- /dev/null
+++ b/dev-ada/glade/Manifest
@@ -0,0 +1,16 @@
+DIST glade-2006.0.tar.bz2 393969 RMD160 478e8082febce36d0997e76c793d534b3789ee65 SHA1 378c97b2db45de633b0bc462f48ae73fad4b89c7 SHA256 0a0ef4b7aeb426b4b298b38fcdb9d7236b56a9c5aa6d16c24745450587b6ef85
+EBUILD glade-2006.0.ebuild 2321 RMD160 af82b5a7fb3f03a64b034ce338085d0ac566d378 SHA1 3b74946b04015b20a0573ddd20a2d6bc09b08263 SHA256 e1bbad775900d969f61a6894e887eb1974c18677f1d7a3033e9cff3fe347edb4
+MD5 a86f510def6daa63306d1ad4c54652a0 glade-2006.0.ebuild 2321
+RMD160 af82b5a7fb3f03a64b034ce338085d0ac566d378 glade-2006.0.ebuild 2321
+SHA256 e1bbad775900d969f61a6894e887eb1974c18677f1d7a3033e9cff3fe347edb4 glade-2006.0.ebuild 2321
+MISC ChangeLog 338 RMD160 92f4fd2270c4c17fbbaf4625f7da093b7926ed79 SHA1 92addb07bcff31697d7bcd4dea9c3e859a2c613b SHA256 5854c2788f0dc4020a31067923d302786ca218953c1860a438f41f042c16becf
+MD5 ddc016452da26851bdfe7c64ef3d4382 ChangeLog 338
+RMD160 92f4fd2270c4c17fbbaf4625f7da093b7926ed79 ChangeLog 338
+SHA256 5854c2788f0dc4020a31067923d302786ca218953c1860a438f41f042c16becf ChangeLog 338
+MISC metadata.xml 156 RMD160 176ce2ddfa15a21eb2b752633f3514cc3640749e SHA1 de9b70211ac77fb8e22706d4e968b04a634f65f2 SHA256 34f8bec858b5da24b0fc4d703932bf225d4ee545f13cc253e42d8bc84956dbec
+MD5 e8e274a5057d2f205a38206204250c79 metadata.xml 156
+RMD160 176ce2ddfa15a21eb2b752633f3514cc3640749e metadata.xml 156
+SHA256 34f8bec858b5da24b0fc4d703932bf225d4ee545f13cc253e42d8bc84956dbec metadata.xml 156
+MD5 31cbbf15a283687879583c7655eabc2d files/digest-glade-2006.0 241
+RMD160 37eb80553932cac0704a1803624eaa5c54f5b99d files/digest-glade-2006.0 241
+SHA256 a32782d32c5ab88bd043f64e4db4168e62ee05c3459a0f343f97693603f7b9e4 files/digest-glade-2006.0 241
diff --git a/dev-ada/glade/files/digest-glade-2006.0 b/dev-ada/glade/files/digest-glade-2006.0
new file mode 100644
index 000000000000..2bb3c0778a61
--- /dev/null
+++ b/dev-ada/glade/files/digest-glade-2006.0
@@ -0,0 +1,3 @@
+MD5 5cc8bf50850daa86e3ce858a1f0848bc glade-2006.0.tar.bz2 393969
+RMD160 478e8082febce36d0997e76c793d534b3789ee65 glade-2006.0.tar.bz2 393969
+SHA256 0a0ef4b7aeb426b4b298b38fcdb9d7236b56a9c5aa6d16c24745450587b6ef85 glade-2006.0.tar.bz2 393969
diff --git a/dev-ada/glade/glade-2006.0.ebuild b/dev-ada/glade/glade-2006.0.ebuild
new file mode 100644
index 000000000000..5c070f6940b1
--- /dev/null
+++ b/dev-ada/glade/glade-2006.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/glade/glade-2006.0.ebuild,v 1.1 2007/02/05 10:35:15 george Exp $
+
+inherit gnat
+
+IUSE=""
+
+DESCRIPTION="An implementation of the Distributed Systems Annex for the GNAT compiler"
+HOMEPAGE="http://libre2.adacore.com/"
+SRC_URI="http://dev.gentoo.org/~george/src/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+DEPEND="virtual/gnat"
+
+# temporary install pool
+DN="${WORKDIR}/LocalD"
+
+src_unpack() {
+ gnat_src_unpack
+
+ cd ${S}
+ # configure performs some stupid check and in a wrong way, we will surely
+ # have a modern enough gnat
+ sed -i -e "s:-le \"\$am_gnatls_date\":-le \"20040909\":" configure
+}
+
+lib_compile()
+{
+ econf --with-optimization="${CFLAGS}" || die "econf failed"
+ emake || die "make failed"
+ einfo "lib_compile completed"
+}
+
+# NOTE: we are using $1 - the passed gnat profile name
+lib_install()
+{
+ # ATTN!
+ # get_gnat_value relies on having a value specific for gnat in the first
+ # position of a requested env var. Above works for PATH because gnat.eclass
+ # prepends values from the freshly activated gnat profile!
+ #
+ # Also, we install directly to ${D} here, as this is really a part of gnat
+ make prefix=${DN} \
+ bindir=${DN}/$(get_gnat_value PATH) \
+ install || die "make install failed"
+ #
+ # Makefile does not seem to accept much more than bindir, so the rest we
+ # will move manually
+ local Gnat_Libdir=$(get_gnat_value ADA_OBJECTS_PATH)
+ local Gnat_Incdir=$(get_gnat_value ADA_INCLUDE_PATH)
+ mkdir -p "${DN}/${Gnat_Libdir}"
+ mv "${DN}/lib/garlic"/*.ali "${DN}/lib/garlic"/libgarlic.a "${DN}/${Gnat_Libdir}"
+
+ mkdir -p "${DN}/${Gnat_Incdir}"
+ mv "${DN}/lib/garlic"/*.ad? "${DN}/${Gnat_Incdir}"
+ rm -rf "${DN}/lib"
+}
+
+src_install ()
+{
+ # library is installed into the corresponding gnat, no extra env setting
+ # necessary
+ echo "" > ${LibEnv}
+
+ gnat_src_install
+
+ # clean empty dirs
+ rm -rf ${D}/usr/share/gnat/ ${D}/usr/lib/ada/
+
+ # move prepared stuff over
+ cp -rp "${DN}"/* ${D}
+ dodoc COPYING README NEWS
+ insinto /usr/share/doc/${PF}
+ doins -r Examples/
+}
+
+pkg_postinst() {
+ echo
+ elog "GLADE has been installed at the gnat compiler location, expanding System Library."
+ elog "No further configuration is necessary. Enjoy."
+ echo
+}
diff --git a/dev-ada/glade/metadata.xml b/dev-ada/glade/metadata.xml
new file mode 100644
index 000000000000..aec150231c3f
--- /dev/null
+++ b/dev-ada/glade/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>