# ChangeLog for dev-ada/xmlada
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/ChangeLog,v 1.21 2006/11/13 17:12:22 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/ChangeLog,v 1.22 2006/11/16 15:33:23 george Exp $
+
+*xmlada-2.2.0 (16 Nov 2006)
+
+ 16 Nov 2006; George Shapovalov <george@gentoo.org> +xmlada-2.2.0.ebuild:
+ new version (by AdaCore)
13 Nov 2006; George Shapovalov <george@gentoo.org> -xmlada-1.0-r1.ebuild,
-xmlada-1.0-r2.ebuild, -xmlada-1.0-r3.ebuild, xmlada-1.0-r4.ebuild:
DIST XmlAda-0.7.1.tgz 312248
DIST XmlAda-1.0.tgz 322079 RMD160 08e23274cab3786527dccbd18c7ae891e37240ba SHA1 4762bcc1abf9d12f74be123c156fdb8929110b69 SHA256 e86ccd448574ff1ec2205f9bfbfa5812023dc4ce5d4b1c2e2c8b1ffbd29ce917
+DIST xmlada-gpl-2.2.0-src.tgz 714281 RMD160 c137147723d462a5420c091c8383d966ce5f7908 SHA1 5732b6a18d1ff38203efbe27878a4414e6be7a96 SHA256 a9bae73fb0c301fc09143b0f78b0a0bf9a4662d747b1d9e582d3158f70946b5e
EBUILD xmlada-0.7.1-r2.ebuild 2682 RMD160 0c5a85160c3802a42fe89dad65a745c1270d4410 SHA1 793c24282782d1ddb2968552827d5905c503d05a SHA256 9e58645a4b4bb930c139cf6595b7f90c0a9a9e67431b8a689837390ff9eef0dc
MD5 fa9731c5f5dbdcc80ed58d55f12c27e2 xmlada-0.7.1-r2.ebuild 2682
RMD160 0c5a85160c3802a42fe89dad65a745c1270d4410 xmlada-0.7.1-r2.ebuild 2682
MD5 410d5cb08015d40bd22d102c82653e7c xmlada-1.0.ebuild 2674
RMD160 3e0ed594fdcb1e8fbfe65441e730461d94d24830 xmlada-1.0.ebuild 2674
SHA256 5e7466137ae63047ae21ff0909badd4cfd04a59c11c8243e5826415c7d4b8a53 xmlada-1.0.ebuild 2674
-MISC ChangeLog 3460 RMD160 7fe078e599348a3031ab96edf388aae6e242cbe5 SHA1 9c67441d8c6a8e6d43f3491acb62c03a7594fe78 SHA256 0ac5df47f6bc590e66a45bd0fb035ca6471b0cea86d234f98299443debf3d5a0
-MD5 36bd28e1b2a3b817d2bf85d8a7d6603a ChangeLog 3460
-RMD160 7fe078e599348a3031ab96edf388aae6e242cbe5 ChangeLog 3460
-SHA256 0ac5df47f6bc590e66a45bd0fb035ca6471b0cea86d234f98299443debf3d5a0 ChangeLog 3460
+EBUILD xmlada-2.2.0.ebuild 1959 RMD160 ee7cc5984ca67abb97b67e597cf877511f746dd6 SHA1 fb0ade37eb41329b1a67f0d92bc959431d3b46e9 SHA256 f76a04f4246e196e9b3ee8cac51220e2be24c422d0da59fc7f5e69bfb5fbfb45
+MD5 8f7f3da8b57b4d0a8a63beb996dba79d xmlada-2.2.0.ebuild 1959
+RMD160 ee7cc5984ca67abb97b67e597cf877511f746dd6 xmlada-2.2.0.ebuild 1959
+SHA256 f76a04f4246e196e9b3ee8cac51220e2be24c422d0da59fc7f5e69bfb5fbfb45 xmlada-2.2.0.ebuild 1959
+MISC ChangeLog 3592 RMD160 98ad49cf212dc3ccc1d60458237a34d25f5775d2 SHA1 1ebf8efab628654b76c962e30f9d2a39917f27a6 SHA256 04ad1a2efc67434728d0b5d6d945932fc916de2917a6f72698d4d872efa86619
+MD5 849d14ad6fdedd8fffb60ef0e551acfb ChangeLog 3592
+RMD160 98ad49cf212dc3ccc1d60458237a34d25f5775d2 ChangeLog 3592
+SHA256 04ad1a2efc67434728d0b5d6d945932fc916de2917a6f72698d4d872efa86619 ChangeLog 3592
MISC metadata.xml 938 RMD160 d56fe21a5d0e3476dea7db8c325618f6ec007502 SHA1 47efe6a2dbcf0f11b04f1bd9d144e018ace7579d SHA256 2f009a0f62b8fc89cc7188d5bedfcd8cea774d70456f69454ad2ec6cd544a377
MD5 e1d1b17d24932d84db6122c279bf6008 metadata.xml 938
RMD160 d56fe21a5d0e3476dea7db8c325618f6ec007502 metadata.xml 938
MD5 299eeb6a952f9e3305b5fdde97edb62f files/digest-xmlada-1.0-r4 223
RMD160 fe8484ffc2ac0a6b85475820d0a5f0830ac6020a files/digest-xmlada-1.0-r4 223
SHA256 69b9a39439d61373b44cd98d5a6766587e7b8591bdbe286fd567bcc7bc45a941 files/digest-xmlada-1.0-r4 223
+MD5 35a2af85bc9c6659243dc1b980487e00 files/digest-xmlada-2.2.0 253
+RMD160 c986b5c21097f3f1c8c7fded63e150d887ceb29f files/digest-xmlada-2.2.0 253
+SHA256 989248a14ef70f85d51ed9b37c2bd716763cf5f98b0a11b658d1a6ea4ac7d06a files/digest-xmlada-2.2.0 253
--- /dev/null
+MD5 e37de1525d6c6fe100ede847c2d6b9d7 xmlada-gpl-2.2.0-src.tgz 714281
+RMD160 c137147723d462a5420c091c8383d966ce5f7908 xmlada-gpl-2.2.0-src.tgz 714281
+SHA256 a9bae73fb0c301fc09143b0f78b0a0bf9a4662d747b1d9e582d3158f70946b5e xmlada-gpl-2.2.0-src.tgz 714281
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/xmlada-2.2.0.ebuild,v 1.1 2006/11/16 15:33:23 george Exp $
+
+inherit gnat versionator
+
+IUSE=""
+
+Name="xmlada-gpl"
+S="${WORKDIR}"/${Name}-${PV}
+
+DESCRIPTION="XML library for Ada"
+HOMEPAGE="http://libre2.adacore.com/xmlada/"
+SRC_URI="https://libre2.adacore.com/xmlada/${Name}-${PV}-src.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+DEPEND="virtual/gnat
+ virtual/tetex
+ sys-apps/texinfo
+ >=sys-apps/sed-4"
+RDEPEND=""
+
+
+lib_compile()
+{
+ econf || die "econf failed"
+ emake || die "make failed"
+}
+
+# NOTE: we are using $1 - the passed gnat profile name
+lib_install() {
+ make PREFIX=${DL} install || die "install failed"
+
+ # fix xmlada-config hardsets locations
+ sed -i -e "s:\${prefix}/include/xmlada:${AdalibSpecsDir}/${PN}:" \
+ -e "s:\${prefix}/lib/xmlada:${AdalibLibTop}/$1/${PN}/lib:" \
+ -e "s:\${prefix}/lib:${AdalibLibTop}/$1/${PN}/lib:g" \
+ ${DL}/bin/xmlada-config
+
+ # now move stuff to proper location and delete extras
+# mv ${DL}/bin/xmlada-config ${DL}/lib/* ${DL}/include/${PN}/*.ali ${DL}
+ rm -rf ${DL}/include ${DL}/share
+}
+
+src_install ()
+{
+ cd ${S}
+ dodir ${AdalibSpecsDir}/${PN}
+ insinto ${AdalibSpecsDir}/${PN}
+ doins dom/*.ad? input_sources/*.ad? sax/*.ad? unicode/*.ad? schema/*.ad?
+
+ #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 AUTHORS COPYING README TODO features
+ dohtml docs/*.html
+ doinfo docs/*.info
+ # give a proper name to the info file
+ mv ${D}/usr/share/info/xml.info.gz ${D}/usr/share/info/${PN}.info.gz
+ insinto /usr/share/doc/${PF}
+ doins docs/*.pdf distrib/xmlada_gps.py
+
+ dodir /usr/share/doc/${PF}/examples
+ insinto /usr/share/doc/${PF}/examples
+ doins -r docs/{dom,sax,schema}
+}