summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ada/charles')
-rw-r--r--dev-ada/charles/Manifest1
-rw-r--r--dev-ada/charles/charles-20050913.ebuild50
-rw-r--r--dev-ada/charles/metadata.xml6
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-ada/charles/Manifest b/dev-ada/charles/Manifest
new file mode 100644
index 000000000000..73630fbb3d95
--- /dev/null
+++ b/dev-ada/charles/Manifest
@@ -0,0 +1 @@
+DIST charles-20050913.tar.bz2 4098538 SHA256 a6dc507769aec161391c6608417726d6c17feebcc423442b6c6784c5bfeaa792 SHA512 a2a42c1c14555ce8a3384c5af0fb0a8a017874a0c6a220464fe163ab66428def8878d2f7231f9749064f15e4aaf34d06f87d9433d9b277fbf48202294900bd6b WHIRLPOOL de0287be1fe0cfc07b7e81d8062b3e6acf244f4aaacbea53bee0dfb242442fe04c857269b0cea6df420691a6e36ee1abdd5abe027ea49f8fd5d4dfa0b90fedcf
diff --git a/dev-ada/charles/charles-20050913.ebuild b/dev-ada/charles/charles-20050913.ebuild
new file mode 100644
index 000000000000..5ebbc71525e3
--- /dev/null
+++ b/dev-ada/charles/charles-20050913.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit gnat
+
+IUSE=""
+
+DESCRIPTION="Posix bindings for Ada"
+HOMEPAGE="http://libre2.adacore.com/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+DEPEND="virtual/ada"
+
+S="${WORKDIR}/${PN}"
+
+lib_compile()
+{
+ einfo "nothing to do here"
+}
+
+# NOTE: we are using $1 - the passed gnat profile name
+lib_install()
+{
+ einfo "nothing to do here"
+}
+
+src_install ()
+{
+ # install sources
+ dodir ${AdalibSpecsDir}/${PN}
+ insinto ${AdalibSpecsDir}/${PN}
+ doins src/*.ad?
+
+ #set up environment
+ #echo "PATH=%DL%/bin" > ${LibEnv}
+ #echo "LDPATH=%DL%" >> ${LibEnv}
+ #echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv}
+ echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" > ${LibEnv}
+
+ gnat_src_install
+
+ dodoc src/{COPYING.TXT,README.txt}
+ insinto /usr/share/doc/${PF}
+ doins -r src/testdir/ www/charles_tutorial.pdf
+}
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>