From 54f76f1926de8c102f076d7735a2fce2ed35b600 Mon Sep 17 00:00:00 2001 From: George Shapovalov Date: Mon, 5 Jun 2006 10:06:53 +0000 Subject: [PATCH] added LD_RUN_PATH to generated env Package-Manager: portage-2.1_rc4 --- dev-ada/booch_components/ChangeLog | 8 +- dev-ada/booch_components/Manifest | 29 ++++--- .../booch_components-20051222-r1.ebuild | 83 +++++++++++++++++++ .../files/digest-booch_components-20051222-r1 | 6 ++ 4 files changed, 114 insertions(+), 12 deletions(-) create mode 100644 dev-ada/booch_components/booch_components-20051222-r1.ebuild create mode 100644 dev-ada/booch_components/files/digest-booch_components-20051222-r1 diff --git a/dev-ada/booch_components/ChangeLog b/dev-ada/booch_components/ChangeLog index 04b41eb4615a..7838113596ac 100644 --- a/dev-ada/booch_components/ChangeLog +++ b/dev-ada/booch_components/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ada/booch_components # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ada/booch_components/ChangeLog,v 1.8 2006/05/13 20:50:39 george Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ada/booch_components/ChangeLog,v 1.9 2006/06/05 10:06:53 george Exp $ + +*booch_components-20051222-r1 (05 Jun 2006) + + 05 Jun 2006; George Shapovalov + +booch_components-20051222-r1.ebuild: + added LD_RUN_PATH, forcing revbump 13 May 2006; George Shapovalov booch_components-20030815.ebuild: diff --git a/dev-ada/booch_components/Manifest b/dev-ada/booch_components/Manifest index 2cb47e1f5c36..29210b392742 100644 --- a/dev-ada/booch_components/Manifest +++ b/dev-ada/booch_components/Manifest @@ -1,20 +1,24 @@ -DIST bc-20030815.tgz 132936 RMD160 89ec0edbec0378f0cd25bdc0872a2688b68f5a2a SHA256 8559fc5fdb865d279b90c488d62866b722f13601526950cdb3ebe9eae5bd28f7 size 132936 -DIST bc-20051222.tgz 181962 RMD160 c3a12233058208104b7ef71ee041aad872f71da9 SHA256 b9ea09a084fcfd3cab04951b6ad3b882b8bec41c05203986004c46ad60d4d27f size 181962 -DIST bc-html-20030815.zip 57534 RMD160 31a59e664ccd83c9dfd13f8618246a4d956d3aa0 SHA256 addbe4061b4a992d6ef0d0310ae2247bee0cb0edf61eb11c303caff1301a011a size 57534 -DIST bc-html-20051222.zip 59373 RMD160 61268baf6fb20172b989e0ad8807ce733e8588e7 SHA256 1f92a74fb2427af92c28a4dacc5d02b515a6ae1a783a354efb8b9b2f11b85dd4 size 59373 -EBUILD booch_components-20030815.ebuild 1846 RMD160 4d6edd31c9ecd509bb69907f29e58d94fe5994af SHA1 bf6f1026a08fa4069ee91f7668a82c2ea967c6a9 SHA256 851e880dffa5e5bfd55236c2e462b30d05caf78025b43e4375e12c2fc12eae5a size 1846 +DIST bc-20030815.tgz 132936 RMD160 89ec0edbec0378f0cd25bdc0872a2688b68f5a2a SHA256 8559fc5fdb865d279b90c488d62866b722f13601526950cdb3ebe9eae5bd28f7 +DIST bc-20051222.tgz 181962 RMD160 c3a12233058208104b7ef71ee041aad872f71da9 SHA1 77cf34a768d8240addac9344b5b7fdee8ce87b2e SHA256 b9ea09a084fcfd3cab04951b6ad3b882b8bec41c05203986004c46ad60d4d27f +DIST bc-html-20030815.zip 57534 RMD160 31a59e664ccd83c9dfd13f8618246a4d956d3aa0 SHA256 addbe4061b4a992d6ef0d0310ae2247bee0cb0edf61eb11c303caff1301a011a +DIST bc-html-20051222.zip 59373 RMD160 61268baf6fb20172b989e0ad8807ce733e8588e7 SHA1 46e2e7a0a79584daf60bc4acd2682d1edeaad51e SHA256 1f92a74fb2427af92c28a4dacc5d02b515a6ae1a783a354efb8b9b2f11b85dd4 +EBUILD booch_components-20030815.ebuild 1846 RMD160 4d6edd31c9ecd509bb69907f29e58d94fe5994af SHA1 bf6f1026a08fa4069ee91f7668a82c2ea967c6a9 SHA256 851e880dffa5e5bfd55236c2e462b30d05caf78025b43e4375e12c2fc12eae5a MD5 7f43db6f3de39639bf6c1384fffdb278 booch_components-20030815.ebuild 1846 RMD160 4d6edd31c9ecd509bb69907f29e58d94fe5994af booch_components-20030815.ebuild 1846 SHA256 851e880dffa5e5bfd55236c2e462b30d05caf78025b43e4375e12c2fc12eae5a booch_components-20030815.ebuild 1846 -EBUILD booch_components-20051222.ebuild 2099 RMD160 21ca0ac89586bbffd977d1f10473f86e09125ab3 SHA1 2921f0a748e0f95f6c5f3ad6e29625a8040d8c26 SHA256 9cc25d8fc608ad3f4a8adc1b7d90f16e7358ee8438422ec815ff933343393ce2 size 2099 +EBUILD booch_components-20051222-r1.ebuild 2140 RMD160 0c82ba279c5eca5f2c8269aeca09637fd75e7242 SHA1 b236671d7e440a57468dc2716799250f14bf76cd SHA256 04f2d1b550da81a9980bbeca10553eb7842b4315c2138633bf4789682c21f5e3 +MD5 40cbabe16d4ea969e0449b39b9079f7e booch_components-20051222-r1.ebuild 2140 +RMD160 0c82ba279c5eca5f2c8269aeca09637fd75e7242 booch_components-20051222-r1.ebuild 2140 +SHA256 04f2d1b550da81a9980bbeca10553eb7842b4315c2138633bf4789682c21f5e3 booch_components-20051222-r1.ebuild 2140 +EBUILD booch_components-20051222.ebuild 2099 RMD160 21ca0ac89586bbffd977d1f10473f86e09125ab3 SHA1 2921f0a748e0f95f6c5f3ad6e29625a8040d8c26 SHA256 9cc25d8fc608ad3f4a8adc1b7d90f16e7358ee8438422ec815ff933343393ce2 MD5 89394e4670a56d7e62031ad06e3318ad booch_components-20051222.ebuild 2099 RMD160 21ca0ac89586bbffd977d1f10473f86e09125ab3 booch_components-20051222.ebuild 2099 SHA256 9cc25d8fc608ad3f4a8adc1b7d90f16e7358ee8438422ec815ff933343393ce2 booch_components-20051222.ebuild 2099 -MISC ChangeLog 1483 RMD160 3b5288cf9051703ef76677e0ab7af4a0bdae6e51 SHA1 ea683e0b33bf16cc4cc31970f0f133dd5e66e8a1 SHA256 5de5f734b9a54aaf696dd23e6bacd478e759a8068e564bd0aece9d8e5073f366 size 1483 -MD5 afbd4d97785243d4550bfb07839d60e4 ChangeLog 1483 -RMD160 3b5288cf9051703ef76677e0ab7af4a0bdae6e51 ChangeLog 1483 -SHA256 5de5f734b9a54aaf696dd23e6bacd478e759a8068e564bd0aece9d8e5073f366 ChangeLog 1483 -MISC metadata.xml 479 RMD160 8a0ab90894f28051aa41f47888aca8c0041505e7 SHA1 cd274ca67961d65b0b5be7af14a7b2930d3d6d48 SHA256 b527c9c5bdc79983b69afc98394b9d79fa3c5d7457cce03748a95be032dab708 size 479 +MISC ChangeLog 1659 RMD160 ff9ddf49a96e7289556102f23e7f5153de6a945b SHA1 d1f9aec8783fdc0aad612207b0fadadeac3c6fef SHA256 5497af2d821589b92e54d99518058a9c03dbeb56cf742231bd432be2695ff851 +MD5 fd97790d573792d1a70ffd013ade8788 ChangeLog 1659 +RMD160 ff9ddf49a96e7289556102f23e7f5153de6a945b ChangeLog 1659 +SHA256 5497af2d821589b92e54d99518058a9c03dbeb56cf742231bd432be2695ff851 ChangeLog 1659 +MISC metadata.xml 479 RMD160 8a0ab90894f28051aa41f47888aca8c0041505e7 SHA1 cd274ca67961d65b0b5be7af14a7b2930d3d6d48 SHA256 b527c9c5bdc79983b69afc98394b9d79fa3c5d7457cce03748a95be032dab708 MD5 e544234de998b5b8db36dbc1bfce8807 metadata.xml 479 RMD160 8a0ab90894f28051aa41f47888aca8c0041505e7 metadata.xml 479 SHA256 b527c9c5bdc79983b69afc98394b9d79fa3c5d7457cce03748a95be032dab708 metadata.xml 479 @@ -24,3 +28,6 @@ SHA256 078458e4b2a752e57845323b5131f75046d737a8c4757e134ae1d911d338e0be files/di MD5 1d6262ea90a9ec6c79908840f69e983d files/digest-booch_components-20051222 464 RMD160 ae6c49ead3a08d0dd672394c56e936479d371bd3 files/digest-booch_components-20051222 464 SHA256 546a254d39a7372b9d6127309040078b4b01934b987fa00b6bff9cad984a3e50 files/digest-booch_components-20051222 464 +MD5 1d6262ea90a9ec6c79908840f69e983d files/digest-booch_components-20051222-r1 464 +RMD160 ae6c49ead3a08d0dd672394c56e936479d371bd3 files/digest-booch_components-20051222-r1 464 +SHA256 546a254d39a7372b9d6127309040078b4b01934b987fa00b6bff9cad984a3e50 files/digest-booch_components-20051222-r1 464 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..02b2a3c419ad --- /dev/null +++ b/dev-ada/booch_components/booch_components-20051222-r1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ada/booch_components/booch_components-20051222-r1.ebuild,v 1.1 2006/06/05 10:06:53 george Exp $ + +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/gnat + >=app-admin/eselect-gnat-0.7" + +DEPEND="${RDEPEND} + doc? ( 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 "ADA_OBJECTS_PATH=%DL%" > ${LibEnv} + echo "ADA_INCLUDE_PATH=${AdalibSpecsDir}/${PN}" >> ${LibEnv} + echo "LD_RUN_PATH=%DL%" >> ${LibEnv} + + gnat_src_install + + # Install documentation. + dodoc COPYING 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 + 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-20051222-r1 b/dev-ada/booch_components/files/digest-booch_components-20051222-r1 new file mode 100644 index 000000000000..4888bc3d1be9 --- /dev/null +++ b/dev-ada/booch_components/files/digest-booch_components-20051222-r1 @@ -0,0 +1,6 @@ +MD5 38802e6163f4c100e6c886c84380d053 bc-20051222.tgz 181962 +RMD160 c3a12233058208104b7ef71ee041aad872f71da9 bc-20051222.tgz 181962 +SHA256 b9ea09a084fcfd3cab04951b6ad3b882b8bec41c05203986004c46ad60d4d27f bc-20051222.tgz 181962 +MD5 498f5963cbbe8174c263eba3cb0744d2 bc-html-20051222.zip 59373 +RMD160 61268baf6fb20172b989e0ad8807ce733e8588e7 bc-html-20051222.zip 59373 +SHA256 1f92a74fb2427af92c28a4dacc5d02b515a6ae1a783a354efb8b9b2f11b85dd4 bc-html-20051222.zip 59373 -- 2.26.2