diff options
author | David Holm <dholm@gentoo.org> | 2003-10-14 11:41:35 +0000 |
---|---|---|
committer | David Holm <dholm@gentoo.org> | 2003-10-14 11:41:35 +0000 |
commit | ccc10c91d16876c13acc8a0146153e6a2b3fdcd3 (patch) | |
tree | 999db05732852ffd20f290c67cc9b9d23a42b60e /dev-ada/booch_components | |
parent | New ebuild by George Shapovalov <george@gentoo.org> (diff) | |
download | historical-ccc10c91d16876c13acc8a0146153e6a2b3fdcd3.tar.gz historical-ccc10c91d16876c13acc8a0146153e6a2b3fdcd3.tar.bz2 historical-ccc10c91d16876c13acc8a0146153e6a2b3fdcd3.zip |
New ebuild by George Shapovalov <george@gentoo.org>
Diffstat (limited to 'dev-ada/booch_components')
-rw-r--r-- | dev-ada/booch_components/Manifest | 4 | ||||
-rw-r--r-- | dev-ada/booch_components/booch_components-20030815.ebuild | 63 | ||||
-rw-r--r-- | dev-ada/booch_components/files/digest-booch_components-20030815 | 2 | ||||
-rw-r--r-- | dev-ada/booch_components/metadata.xml | 6 |
4 files changed, 73 insertions, 2 deletions
diff --git a/dev-ada/booch_components/Manifest b/dev-ada/booch_components/Manifest index fcffe0d5b06c..001fe9fba615 100644 --- a/dev-ada/booch_components/Manifest +++ b/dev-ada/booch_components/Manifest @@ -1,4 +1,4 @@ -MD5 650101a485c3a455ee8e16b55e911ec4 booch_components-20030815.ebuild 1765 +MD5 d76a0b849751adc92b6f29126689c953 booch_components-20030815.ebuild 1875 MD5 e544234de998b5b8db36dbc1bfce8807 metadata.xml 479 -MD5 4ccf181029ec1f7e0ddc30a103172bf0 ChangeLog 412 +MD5 3d4329ea67a6cccd5eb827299dc89df1 ChangeLog 508 MD5 71b1441b3eeee1d4f902f53ae15682e6 files/digest-booch_components-20030815 124 diff --git a/dev-ada/booch_components/booch_components-20030815.ebuild b/dev-ada/booch_components/booch_components-20030815.ebuild new file mode 100644 index 000000000000..0d87c8779d6a --- /dev/null +++ b/dev-ada/booch_components/booch_components-20030815.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ada/booch_components/booch_components-20030815.ebuild,v 1.1 2003/10/14 11:41:30 dholm Exp $ + +IUSE="" + +inherit gnat + +Name="bc" +S="${WORKDIR}/${Name}-${PV}" +DESCRIPTION="Booch Components for ada" +SRC_URI="http://www.pogner.demon.co.uk/components/${Name}/download/${Name}-${PV}.tgz + http://www.pogner.demon.co.uk/components/${Name}/download/${Name}-html-${PV}.zip" + +HOMEPAGE="http://www.pogner.demon.co.uk/components/bc/" + +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc" +SLOT="0" + +DEPEND=">=dev-lang/gnat-3.14p" + +src_compile() { + make clean && make all + #need to force at least some basic compilation + cd test + emake || die +} + +src_install () { + #makefile does not do much, so we need to install stuff manually + dodir /usr/lib/ada/adalib/${PN} /usr/lib/ada/adainclude/${PN} + cd ${S}/test + cp -a *.{o,ali} ${D}/usr/lib/ada/adalib/${PN} + cd ${S} + cp *.ad? ${D}/usr/lib/ada/adainclude/${PN} + + # Install documentation. + dodoc COPYING README + cd ${WORKDIR} + dohtml * + cp coldframe-hash.* x.ada ${D}/usr/share/doc/${PF}/html + + cd ${S} + cp -r demo ${D}/usr/share/doc/${PF}/ + + dodir /usr/share/doc/${PF}/test + cd test + cp *.ad? *.dat makefile ${D}/usr/share/doc/${PF}/test + + #set up environment + dodir /etc/env.d + echo "ADA_OBJECTS_PATH=\${ADA_OBJECTS_PATH}:/usr/lib/ada/adalib/${PN}" > ${D}/etc/env.d/55booch_components + echo "ADA_INCLUDE_PATH=\${ADA_INCLUDE_PATH}:/usr/lib/ada/adainclude/${PN}" >> ${D}/etc/env.d/55booch_components +} + +pkg_postinst(){ + einfo "The envaironment has been set up to make gnat automatically find files in" + einfo "Booch components. In order to immediately activate these settings 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/booch_components/files/digest-booch_components-20030815 b/dev-ada/booch_components/files/digest-booch_components-20030815 new file mode 100644 index 000000000000..dd71212caf7c --- /dev/null +++ b/dev-ada/booch_components/files/digest-booch_components-20030815 @@ -0,0 +1,2 @@ +MD5 fcbb7fb3c5736773c25813c8d8dcf4ca bc-20030815.tgz 132936 +MD5 0421c192d167639a59c60086e8708d69 bc-html-20030815.zip 57534 diff --git a/dev-ada/booch_components/metadata.xml b/dev-ada/booch_components/metadata.xml new file mode 100644 index 000000000000..a49c8d293021 --- /dev/null +++ b/dev-ada/booch_components/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>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> +</pkgmetadata> |