summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-ada/booch_components
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-ada/booch_components')
-rw-r--r--dev-ada/booch_components/Manifest4
-rw-r--r--dev-ada/booch_components/booch_components-20051222-r1.ebuild83
-rw-r--r--dev-ada/booch_components/booch_components-20070420.ebuild67
-rw-r--r--dev-ada/booch_components/metadata.xml9
4 files changed, 163 insertions, 0 deletions
diff --git a/dev-ada/booch_components/Manifest b/dev-ada/booch_components/Manifest
new file mode 100644
index 000000000000..b26b4c2fbbc9
--- /dev/null
+++ b/dev-ada/booch_components/Manifest
@@ -0,0 +1,4 @@
+DIST bc-20051222.tgz 181962 SHA256 b9ea09a084fcfd3cab04951b6ad3b882b8bec41c05203986004c46ad60d4d27f SHA512 3d7f39255d832d82f8bf3ab9e68343c69d7c20757f84cd12708cde62f1e8a94764b7966bddd0727c7c0c6c25249911d7e17ba5e0024c6f22cecccd6b2229fee0 WHIRLPOOL fe25da0388fb2f683d775dd86de40b2dd342364d93f26b82e7f3a4c07020b252b903ccdb5890b1253c3595447df01711f75bead53dd4b2b281955bcf68ce7b9c
+DIST bc-20070420.tgz 183645 SHA256 09eb43fa318c354ef5dc57c25faaa0d472fedc7b26215e14914e611a483686bb SHA512 7af86db3b7c7543b6fcbe9f7154ece69a1e4219d5da9a9652cc75f76b2968ccb4682792f4f3041addec7d56a0ebed6e532cdac05da6461c6510f256cd4ae34aa WHIRLPOOL e3772fddbebc719b2865686c6890d456eb29f9274df25c1eed2e353aca417efbe757582dac776743fafd19d088329af20cff58719f3e882e1b53fe0ff8d1d1c3
+DIST bc-html-20051222.zip 59373 SHA256 1f92a74fb2427af92c28a4dacc5d02b515a6ae1a783a354efb8b9b2f11b85dd4 SHA512 14667e14f7075311720356931352ad261bf544928a10e60ab414fac45349a5833b94facf939b6ec4c48e7238c8952607de9e8d85cbc291250ed2d4eda23c5310 WHIRLPOOL 3a7ff4fb9bfd55baead14d32ac29240ddfbe29856d070e269f2c49394c61cb1249bff880a39659cd005772a3203e1d0c16f6e680bee241f68dd3f2a7bfe87af6
+DIST bc-html-20070420.zip 60500 SHA256 049c5edbe8c54cb632807488deb5d2782923b934afde16b565dcb7bab79629da SHA512 d5d70d73c2a6850f00912d2f2c92a5ce16f9fb72c1c0c1399095686c7c77250f40d56586c75a6ac14ecd19ed9a35b3852ef8c97f5fd52639c4d949a0c1568219 WHIRLPOOL b6c851cf19b743caea964862487b540430c594b1c416e36ae9e2ac295274f8ee2ddda7232d964d5e96311a8871b06a35ddd79b023c0eaf7b1e9a8507bd2cbe22
diff --git a/dev-ada/booch_components/booch_components-20051222-r1.ebuild b/dev-ada/booch_components/booch_components-20051222-r1.ebuild
new file mode 100644
index 000000000000..31d25b88cc58
--- /dev/null
+++ b/dev-ada/booch_components/booch_components-20051222-r1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+IUSE="doc"
+
+inherit gnat
+
+My_PN="bc"
+S="${WORKDIR}/${My_PN}-${PV}"
+DESCRIPTION="Booch Components for Ada"
+SRC_URI="mirror://sourceforge/booch95/${My_PN}-${PV}.tgz
+ mirror://sourceforge/booch95/${My_PN}-html-${PV}.zip"
+
+HOMEPAGE="http://booch95.sourceforge.net/"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+
+RDEPEND="virtual/ada
+ >=app-eselect/eselect-gnat-0.7"
+
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+lib_compile() {
+ cd ${SL}/GNAT
+ make
+}
+
+lib_install() {
+ # new style booch components install Debug and Release versions, we only
+ # need the lib subdir of either
+ mkdir -p "${DL}"/Debug
+ # both $SL and $DL are under ${WORKDIR}, so no dodir, doins...
+ # (as lib_install is called from src_compile it is not safe to have $DL
+ # under $D)
+ mv "${SL}"/GNAT/*-Release/lib/* "${DL}"
+ mv "${SL}"/GNAT/*-Debug/lib/* "${DL}"/Debug
+}
+
+src_install () {
+ dodir "${AdalibSpecsDir}/${PN}"
+ cd "${S}"
+ insinto "${AdalibSpecsDir}/${PN}"
+ doins *.ad?
+
+ #set up environment
+ echo "LDPATH=%DL%" > ${LibEnv}
+ echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv}
+ echo "ADA_INCLUDE_PATH=${AdalibSpecsDir}/${PN}" >> ${LibEnv}
+
+ gnat_src_install
+
+ # Install documentation.
+ dodoc README
+ if use doc ; then
+ einfo "installing docs"
+ cd "${WORKDIR}"
+ dohtml *.html *.gif *.jpg
+ cp coldframe-hash.* x.ada "${D}"/usr/share/doc/${PF}/html
+
+ cd "${S}"
+ dodir /usr/share/doc/${PF}/demo
+ insinto /usr/share/doc/${PF}/demo
+ doins demo/*
+
+ dodir /usr/share/doc/${PF}/test
+ insinto /usr/share/doc/${PF}/test
+ doins test/*
+ fi
+}
+
+pkg_postinst(){
+ einfo "Updating gnat configuration to pick up ${PN} library..."
+ eselect gnat update
+ elog "The environment has been set up to make gnat automatically find files in"
+ elog "Booch components. In order to immediately activate these settings please do"
+ elog "env-update"
+ elog "source /etc/profile"
+ elog "Otherwise the settings will become active next time you login"
+}
diff --git a/dev-ada/booch_components/booch_components-20070420.ebuild b/dev-ada/booch_components/booch_components-20070420.ebuild
new file mode 100644
index 000000000000..4d668809228b
--- /dev/null
+++ b/dev-ada/booch_components/booch_components-20070420.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+IUSE="doc"
+
+inherit gnat
+
+My_PN="bc"
+S="${WORKDIR}/${My_PN}-${PV}"
+DESCRIPTION="Booch Components for Ada"
+SRC_URI="mirror://sourceforge/booch95/${My_PN}-${PV}.tgz
+ mirror://sourceforge/booch95/${My_PN}-html-${PV}.zip"
+
+HOMEPAGE="http://booch95.sourceforge.net/"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+
+RDEPEND="virtual/ada"
+
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+lib_compile() {
+ cd "${SL}"/GNAT
+ make
+}
+
+lib_install() {
+ mkdir -p "${DL}"/Debug
+ mv "${SL}"/GNAT/*-Release/lib/* "${DL}"
+ mv "${SL}"/GNAT/*-Debug/lib/* "${DL}"/Debug
+ chmod 0444 "${DL}"/*.ali "${DL}"/Debug/*.ali
+}
+
+src_install () {
+ dodir "${AdalibSpecsDir}/${PN}"
+ insinto "${AdalibSpecsDir}/${PN}"
+ doins *.ad?
+
+ #set up environment
+ echo "LDPATH=%DL%" > ${LibEnv}
+ echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv}
+ echo "ADA_INCLUDE_PATH=${AdalibSpecsDir}/${PN}" >> ${LibEnv}
+
+ gnat_src_install
+
+ # Install documentation.
+ dodoc README
+ if use doc ; then
+ einfo "installing docs"
+ cd "${WORKDIR}"
+ dohtml *.html *.gif *.jpg
+ cp coldframe-hash.* x.ada "${D}"/usr/share/doc/${PF}/html
+
+ cd "${S}"
+ dodir /usr/share/doc/${PF}/demo
+ insinto /usr/share/doc/${PF}/demo
+ doins demo/*
+
+ dodir /usr/share/doc/${PF}/test
+ insinto /usr/share/doc/${PF}/test
+ doins test/*
+ fi
+}
diff --git a/dev-ada/booch_components/metadata.xml b/dev-ada/booch_components/metadata.xml
new file mode 100644
index 000000000000..0e86180028f1
--- /dev/null
+++ b/dev-ada/booch_components/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ada</herd>
+ <longdescription>The booch components provide a set of reusable components used in an efficient and appropriate manner, with the overall goal of balancing usability and extensibility. The BCs cover several issues: Time and Space semantics, Storage Management policies, Exception and Idioms for iteration.</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">booch95</remote-id>
+ </upstream>
+</pkgmetadata>