summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2003-10-25 14:24:47 +0000
committerDavid Holm <dholm@gentoo.org>2003-10-25 14:24:47 +0000
commit8e152acb2e0f00151a09b73b453557407291b494 (patch)
tree6b66041d4877b1230cf46372cedebf57713c8440
parentReusable components for Ada (diff)
downloadgentoo-2-8e152acb2e0f00151a09b73b453557407291b494.tar.gz
gentoo-2-8e152acb2e0f00151a09b73b453557407291b494.tar.bz2
gentoo-2-8e152acb2e0f00151a09b73b453557407291b494.zip
Reusable components for Ada
-rw-r--r--dev-ada/charles/ChangeLog11
-rw-r--r--dev-ada/charles/Manifest4
-rw-r--r--dev-ada/charles/charles-20030813.ebuild57
-rw-r--r--dev-ada/charles/files/digest-charles-200308134
-rw-r--r--dev-ada/charles/metadata.xml6
5 files changed, 80 insertions, 2 deletions
diff --git a/dev-ada/charles/ChangeLog b/dev-ada/charles/ChangeLog
new file mode 100644
index 000000000000..1a5a224bf6af
--- /dev/null
+++ b/dev-ada/charles/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-ada/charles
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/charles/ChangeLog,v 1.1 2003/10/25 14:24:00 dholm Exp $
+
+*charles-20030813 (25 Oct 2003)
+
+ 25 Oct 2003; David Holm <dholm@gentoo.org> charles-20030813.ebuild,
+ metadata.xml:
+ Added this new ebuild to portage. Contains some very useful reusable
+ components for Ada.
+
diff --git a/dev-ada/charles/Manifest b/dev-ada/charles/Manifest
index 4c9a90235546..7ed81f2799d5 100644
--- a/dev-ada/charles/Manifest
+++ b/dev-ada/charles/Manifest
@@ -1,4 +1,4 @@
-MD5 8461ed0f12efb0fe03203a78557602cc charles-20030813.ebuild 1558
+MD5 0acd7d8ba5705a708649a62cf8e4ed33 charles-20030813.ebuild 1659
MD5 489298f51bae59bae69e2071f903660c metadata.xml 477
-MD5 3d22a90b505de3e573756242fb06c270 ChangeLog 337
+MD5 26be543f90425178d49aec13f9497ce4 ChangeLog 424
MD5 c5289e14b6b6b95c3fc510f7f3c04f0f files/digest-charles-20030813 242
diff --git a/dev-ada/charles/charles-20030813.ebuild b/dev-ada/charles/charles-20030813.ebuild
new file mode 100644
index 000000000000..40f6f7452237
--- /dev/null
+++ b/dev-ada/charles/charles-20030813.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/charles/charles-20030813.ebuild,v 1.1 2003/10/25 14:24:00 dholm Exp $
+
+IUSE=""
+
+inherit gnat
+
+DESCRIPTION="Charles Container Library for Ada"
+SRC_URI="http://home.earthlink.net/~matthewjheaney/charles/${P}.zip
+ http://home.earthlink.net/~matthewjheaney/charles/charles.pdf
+ http://home.earthlink.net/~matthewjheaney/charles/charles-ae2003.pdf
+ http://home.earthlink.net/~matthewjheaney/charles/charlesppt.pdf"
+
+HOMEPAGE="http://home.earthlink.net/~matthewjheaney/charles/"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+SLOT="0"
+
+DEPEND=">=dev-lang/gnat-3.14p"
+
+src_unpack() {
+ mkdir -p ${S}
+ cd ${S}
+ unpack ${P}.zip
+}
+
+src_install () {
+ #makefile does not do much, so we need to install stuff manually
+ dodir /usr/lib/ada/adainclude/${PN}
+ cp *.ad? ${D}/usr/lib/ada/adainclude/${PN}
+
+ # Install documentation.
+ mv COPYING.TXT COPYING
+ dodoc COPYING
+ insinto /usr/share/doc/${P}
+ doins ${DISTDIR}/charles.pdf ${DISTDIR}/charles-ae2003.pdf \
+ ${DISTDIR}/charlesppt.pdf
+
+ dodir /usr/share/${PN}
+ cp -r examples ${D}/usr/share/${PN}
+
+ #set up environment
+ dodir /etc/env.d
+ echo "ADA_INCLUDE_PATH=\${ADA_INCLUDE_PATH}:/usr/lib/ada/adainclude/${PN}" \
+ >> ${D}/etc/env.d/55charles
+}
+
+pkg_postinst(){
+ einfo "The envaironment has been set up to make gnat automatically find files for"
+ einfo "Charles Container Library. In order to immediately activate these settings"
+ einfo "please do:"
+ einfo "env-update"
+ einfo "source /etc/profile"
+ einfo "Otherwise the settings will become active next time you login"
+}
diff --git a/dev-ada/charles/files/digest-charles-20030813 b/dev-ada/charles/files/digest-charles-20030813
new file mode 100644
index 000000000000..997a92fbb948
--- /dev/null
+++ b/dev-ada/charles/files/digest-charles-20030813
@@ -0,0 +1,4 @@
+MD5 ce5a65e15660cdd77172a946094b0d9b charles-20030813.zip 358386
+MD5 1dfe11d12dedecf3c44c1730621428dc charles.pdf 40948
+MD5 387c97872161bc99d91eb31b385edd72 charles-ae2003.pdf 123326
+MD5 5ff902f59e6c417b6a3723c60ddf046e charlesppt.pdf 264216
diff --git a/dev-ada/charles/metadata.xml b/dev-ada/charles/metadata.xml
new file mode 100644
index 000000000000..c589105f804a
--- /dev/null
+++ b/dev-ada/charles/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ada</herd>
+<longdescription>Charles is a data structure library for Ada95, modelled principally on the C++ STL. It features both ordered (lists and arrays) and unordered (sets and maps) collections. In addition to lists and vectors, the Charles library has set, multi-set, map, and multi-map data structure types.</longdescription>
+</pkgmetadata>