From 65301e13039cf7c57319f2d680eb01f76f54efee Mon Sep 17 00:00:00 2001 From: George Shapovalov Date: Mon, 18 Dec 2006 14:06:08 +0000 Subject: [PATCH] first addition - a CORBA implementation for Ada Package-Manager: portage-2.1.2_rc3-r5 --- dev-ada/polyorb/ChangeLog | 9 +++ dev-ada/polyorb/Manifest | 16 +++++ dev-ada/polyorb/files/digest-polyorb-2.1.0 | 3 + dev-ada/polyorb/metadata.xml | 6 ++ dev-ada/polyorb/polyorb-2.1.0.ebuild | 79 ++++++++++++++++++++++ 5 files changed, 113 insertions(+) create mode 100644 dev-ada/polyorb/ChangeLog create mode 100644 dev-ada/polyorb/Manifest create mode 100644 dev-ada/polyorb/files/digest-polyorb-2.1.0 create mode 100644 dev-ada/polyorb/metadata.xml create mode 100644 dev-ada/polyorb/polyorb-2.1.0.ebuild diff --git a/dev-ada/polyorb/ChangeLog b/dev-ada/polyorb/ChangeLog new file mode 100644 index 000000000000..571cdac7969a --- /dev/null +++ b/dev-ada/polyorb/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-ada/polyorb +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ada/polyorb/ChangeLog,v 1.1 2006/12/18 14:06:08 george Exp $ + +*polyorb-2.1.0 (18 Dec 2006) + + 18 Dec 2006; George Shapovalov +polyorb-2.1.0.ebuild: + first addition + diff --git a/dev-ada/polyorb/Manifest b/dev-ada/polyorb/Manifest new file mode 100644 index 000000000000..cde94b83c109 --- /dev/null +++ b/dev-ada/polyorb/Manifest @@ -0,0 +1,16 @@ +DIST polyorb-2.1.0.tar.bz2 1852658 RMD160 172ccbd2af87f812f4faef738835c544dac8bd9b SHA1 41a330dca124ed1a58e5bd05d6f8afa6a9df7766 SHA256 66c5e33894f96ec1f02da4e43f5805655143c3d51e4d8eedbfa5a903aac40b25 +EBUILD polyorb-2.1.0.ebuild 2018 RMD160 ca421f0ea92ccc068e2a2b897c5906acd533d016 SHA1 bb2760e872ece6d160799b119c793627f5dffbb0 SHA256 c471c912d035f4c01faed46af317736523c0af8115a1d4dd1b7b7fc0fee14f71 +MD5 30677e29f64904736caf23c9c07458dd polyorb-2.1.0.ebuild 2018 +RMD160 ca421f0ea92ccc068e2a2b897c5906acd533d016 polyorb-2.1.0.ebuild 2018 +SHA256 c471c912d035f4c01faed46af317736523c0af8115a1d4dd1b7b7fc0fee14f71 polyorb-2.1.0.ebuild 2018 +MISC ChangeLog 327 RMD160 212feff23c4914049d8a8363264d3059c99a8151 SHA1 05e8131562c3ee993eb857fc0ed12698a1d97749 SHA256 005b08c89d63953a9b0cd3476af2ce40b6e559d9b697ecf4c499e2dd7bbd52a2 +MD5 11adcbdd9225e170b356e998e98ddedc ChangeLog 327 +RMD160 212feff23c4914049d8a8363264d3059c99a8151 ChangeLog 327 +SHA256 005b08c89d63953a9b0cd3476af2ce40b6e559d9b697ecf4c499e2dd7bbd52a2 ChangeLog 327 +MISC metadata.xml 938 RMD160 d56fe21a5d0e3476dea7db8c325618f6ec007502 SHA1 47efe6a2dbcf0f11b04f1bd9d144e018ace7579d SHA256 2f009a0f62b8fc89cc7188d5bedfcd8cea774d70456f69454ad2ec6cd544a377 +MD5 e1d1b17d24932d84db6122c279bf6008 metadata.xml 938 +RMD160 d56fe21a5d0e3476dea7db8c325618f6ec007502 metadata.xml 938 +SHA256 2f009a0f62b8fc89cc7188d5bedfcd8cea774d70456f69454ad2ec6cd544a377 metadata.xml 938 +MD5 39a45961ae8fcd21d7ab66e274d749eb files/digest-polyorb-2.1.0 247 +RMD160 6ea41c01e7a84b7ba2d5dbcba8b63f1ad0dcf814 files/digest-polyorb-2.1.0 247 +SHA256 e096f16e3805fbbdb46526e217a0209b1b3c28924393df2ee6520b1433a959fb files/digest-polyorb-2.1.0 247 diff --git a/dev-ada/polyorb/files/digest-polyorb-2.1.0 b/dev-ada/polyorb/files/digest-polyorb-2.1.0 new file mode 100644 index 000000000000..072ad87b0e44 --- /dev/null +++ b/dev-ada/polyorb/files/digest-polyorb-2.1.0 @@ -0,0 +1,3 @@ +MD5 770b387d0e6e29e04e262ab59bd1fb48 polyorb-2.1.0.tar.bz2 1852658 +RMD160 172ccbd2af87f812f4faef738835c544dac8bd9b polyorb-2.1.0.tar.bz2 1852658 +SHA256 66c5e33894f96ec1f02da4e43f5805655143c3d51e4d8eedbfa5a903aac40b25 polyorb-2.1.0.tar.bz2 1852658 diff --git a/dev-ada/polyorb/metadata.xml b/dev-ada/polyorb/metadata.xml new file mode 100644 index 000000000000..66f2f1fc397f --- /dev/null +++ b/dev-ada/polyorb/metadata.xml @@ -0,0 +1,6 @@ + + + +ada +XML/Ada includes a complete XML parser that fully supports the XML 1.0 specifications, including DTDs, entity resolution, external entities,attribute normalization, and conditional sections. XML/Ada also supports the SAX 2.0 standard. Through an object-oriented Ada interface, the XML/Ada SAX implementation provides an extremely efficient way to convert XML streams to application-specific data representations. XML/Ada includes full support for the core part of DOM 2.0. In addition to this XML support, XML/Ada includes an extensive set of packages to read, manipulate and write Unicode streams, in various encodings like UTF-8, UTF-16 and UTF-32. It provides a conversion mechanism between Unicode and encodings such as Latin-1, Latin-2, etc. + diff --git a/dev-ada/polyorb/polyorb-2.1.0.ebuild b/dev-ada/polyorb/polyorb-2.1.0.ebuild new file mode 100644 index 000000000000..9d71a5df950b --- /dev/null +++ b/dev-ada/polyorb/polyorb-2.1.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ada/polyorb/polyorb-2.1.0.ebuild,v 1.1 2006/12/18 14:06:08 george Exp $ + +inherit gnat + +IUSE="doc ssl" + +DESCRIPTION="A CORBA implementation for Ada" +HOMEPAGE="http://libre2.adacore.com/polyorb/" +SRC_URI="http://dev.gentoo.org/~george/src/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +RDEPEND="ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + virtual/gnat" + + +#lib_compile() +lib_compile() +{ + econf --libdir=/usr/lib \ + $(use_with ssl openssl) || die "econf failed" + #--enable-shared \ + # NOTE: --libdir is passed here to simplify logic - all the proper files + # are anyway moved to the final destination by the eclass + emake || die "make failed" +} + +# NOTE: we are using $1 - the passed gnat profile name +#lib_install() { +lib_install() +{ + make DESTDIR=${DL} install || die "install failed" + + # move installed files to appropriate locations + mv ${DL}/usr/* ${DL} + find ${DL} -name "*.ali" -exec mv {} ${DL}/lib \; + chmod 0444 ${DL}/lib/*.ali + + # remove sources and other common stuff + rm -rf "${DL}"/{include,usr} + # fix paths in polyorb-config + sed -i -e "s:includedir=\"\${prefix}/include\":includedir=/usr/include/ada:" \ + -e "s:libdir=\"/usr/lib\":libdir=${AdalibLibTop}/$1/${PN}/lib:" \ + ${DL}/bin/${PN}-config +} + +src_install () +{ + cd ${S} + # install sources + dodir ${AdalibSpecsDir}/${PN} + insinto ${AdalibSpecsDir}/${PN} + doins -r src/* + + #set up environment + echo "PATH=%DL%/bin" > ${LibEnv} + echo "LDPATH=%DL%/lib" >> ${LibEnv} + echo "ADA_OBJECTS_PATH=%DL%/lib" >> ${LibEnv} + echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" >> ${LibEnv} + + gnat_src_install + + dodoc CHANGE_10049 COPYING FEATURES MANIFEST NEWS README + doinfo docs/*.info + if use doc; then + dohtml docs/polyorb_ug.html/*.html + insinto /usr/share/doc/${PF} + doins docs/*.pdf + + dodir /usr/share/doc/${PF}/examples + insinto /usr/share/doc/${PF}/examples + doins -r examples/* + fi +} -- 2.26.2