diff options
-rw-r--r-- | dev-ada/polyorb/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ada/polyorb/Manifest | 16 | ||||
-rw-r--r-- | dev-ada/polyorb/files/digest-polyorb-2.1.0 | 3 | ||||
-rw-r--r-- | dev-ada/polyorb/metadata.xml | 6 | ||||
-rw-r--r-- | dev-ada/polyorb/polyorb-2.1.0.ebuild | 79 |
5 files changed, 113 insertions, 0 deletions
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 <george@gentoo.org> +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..4c9cb709af64 --- /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 1920 RMD160 ad153ea7a5e29055ad1247b1ebcec73900dcb43a SHA1 a9b4362cb5dbd928ffef5538404e44cca33c0e0d SHA256 e32b2ed529f27bbcec73ea333c5c27e551e6f7bd58162f51bb99d78435431936 +MD5 18503859a8f8693e232e971b9d130061 polyorb-2.1.0.ebuild 1920 +RMD160 ad153ea7a5e29055ad1247b1ebcec73900dcb43a polyorb-2.1.0.ebuild 1920 +SHA256 e32b2ed529f27bbcec73ea333c5c27e551e6f7bd58162f51bb99d78435431936 polyorb-2.1.0.ebuild 1920 +MISC ChangeLog 240 RMD160 65eecbe9548aa452260565aeccb6e95ba1d9d0e1 SHA1 43241274f603c8d969262ce454e07bb8e342a4fc SHA256 129294d072cab1b069d1ea0451a1e575b98d2e19ca27816fb989b5f9db746c44 +MD5 342e9d5f81fe763be1b4b162397241b4 ChangeLog 240 +RMD160 65eecbe9548aa452260565aeccb6e95ba1d9d0e1 ChangeLog 240 +SHA256 129294d072cab1b069d1ea0451a1e575b98d2e19ca27816fb989b5f9db746c44 ChangeLog 240 +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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ada</herd> +<longdescription>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.</longdescription> +</pkgmetadata> 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 +} |