summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2007-12-14 12:22:24 +0000
committerGeorge Shapovalov <george@gentoo.org>2007-12-14 12:22:24 +0000
commit60985ac5f5eeb959777d43efa8727bc486eefc0f (patch)
treef388e27fa9511f442ad732723603e8aaec72c24f /dev-ada
parentupdate to support unified libs layout, added (hopefully most) quotes (diff)
downloadhistorical-60985ac5f5eeb959777d43efa8727bc486eefc0f.tar.gz
historical-60985ac5f5eeb959777d43efa8727bc486eefc0f.tar.bz2
historical-60985ac5f5eeb959777d43efa8727bc486eefc0f.zip
transitioned xmlada to use unified layout
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/xmlada/ChangeLog8
-rw-r--r--dev-ada/xmlada/Manifest15
-rw-r--r--dev-ada/xmlada/files/digest-xmlada-2.2.0-r13
-rw-r--r--dev-ada/xmlada/xmlada-2.2.0-r1.ebuild102
4 files changed, 123 insertions, 5 deletions
diff --git a/dev-ada/xmlada/ChangeLog b/dev-ada/xmlada/ChangeLog
index 173d4a5fbdb2..e8dc75abe88c 100644
--- a/dev-ada/xmlada/ChangeLog
+++ b/dev-ada/xmlada/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ada/xmlada
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/ChangeLog,v 1.25 2007/09/25 13:06:19 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/xmlada/ChangeLog,v 1.26 2007/12/14 12:22:23 george Exp $
+
+*xmlada-2.2.0-r1 (14 Dec 2007)
+
+ 14 Dec 2007; George Shapovalov <george@gentoo.org>
+ +xmlada-2.2.0-r1.ebuild:
+ transitioned xmlada to use unified layout (common bin/ for Ada libs, etc)
25 Sep 2007; George Shapovalov <george@gentoo.org> xmlada-1.0-r4.ebuild:
adjusted ebuild to follow eclass reorg, gnat_src_unpack was factored out
diff --git a/dev-ada/xmlada/Manifest b/dev-ada/xmlada/Manifest
index 6c4c2296d87f..1e2ace8f7b3f 100644
--- a/dev-ada/xmlada/Manifest
+++ b/dev-ada/xmlada/Manifest
@@ -4,14 +4,18 @@ EBUILD xmlada-1.0-r4.ebuild 2730 RMD160 642754580bcc79161c8959f58912c45e7aba3798
MD5 50cc089db0bf0e0bc1ddfcdaf7fb7b2d xmlada-1.0-r4.ebuild 2730
RMD160 642754580bcc79161c8959f58912c45e7aba3798 xmlada-1.0-r4.ebuild 2730
SHA256 920c5b3adcd033d87c55e9bc8b0a29c20618ec272ac7812c8831d2009f5eeadf xmlada-1.0-r4.ebuild 2730
+EBUILD xmlada-2.2.0-r1.ebuild 2630 RMD160 5c9c4c02b9d84a6f72b8c7cbf47d5b7c812a3a3f SHA1 654a3a0c6fc4540f0107994d9800a992c78d9be4 SHA256 32f89d3a8206660e25b791678f707697ca598c7861c3ad02a133972a0989dce2
+MD5 8772b9d2b68e168085b514cf65951ada xmlada-2.2.0-r1.ebuild 2630
+RMD160 5c9c4c02b9d84a6f72b8c7cbf47d5b7c812a3a3f xmlada-2.2.0-r1.ebuild 2630
+SHA256 32f89d3a8206660e25b791678f707697ca598c7861c3ad02a133972a0989dce2 xmlada-2.2.0-r1.ebuild 2630
EBUILD xmlada-2.2.0.ebuild 1885 RMD160 e4b45975edfb930ce0f4f4b0b8c965e523bd15eb SHA1 e9bf91096f6c42b5420ea45dd5796c1da4c4214b SHA256 07e673ada6dffd7884088e17459aa28477a5c641899d6ca116a5d523073c8a68
MD5 09fdf752397715cdf87eebed7a5f2be5 xmlada-2.2.0.ebuild 1885
RMD160 e4b45975edfb930ce0f4f4b0b8c965e523bd15eb xmlada-2.2.0.ebuild 1885
SHA256 07e673ada6dffd7884088e17459aa28477a5c641899d6ca116a5d523073c8a68 xmlada-2.2.0.ebuild 1885
-MISC ChangeLog 4091 RMD160 8f5df7d69ea3ba8f186bff0107d443bcb9a2118b SHA1 55b25944fba60515c852a6216e7ab01c5378c181 SHA256 7482e05e08ab78e3dc7b5c44078c611278b52454438d4532fbe8893be734e955
-MD5 f0081c6d9c247a7d40009ff06e330d90 ChangeLog 4091
-RMD160 8f5df7d69ea3ba8f186bff0107d443bcb9a2118b ChangeLog 4091
-SHA256 7482e05e08ab78e3dc7b5c44078c611278b52454438d4532fbe8893be734e955 ChangeLog 4091
+MISC ChangeLog 4280 RMD160 c151035803d63164d9c6d852a23f602653c46d44 SHA1 7aa248fc9ff53c313d62840705e74f73114b626a SHA256 34a6e05579ad39bcedbc7b1e95ff138d0b057bdc50f126cd72a9c8faabd3e2bc
+MD5 22ec3532b7019bc88b8fe61092d1bb4c ChangeLog 4280
+RMD160 c151035803d63164d9c6d852a23f602653c46d44 ChangeLog 4280
+SHA256 34a6e05579ad39bcedbc7b1e95ff138d0b057bdc50f126cd72a9c8faabd3e2bc ChangeLog 4280
MISC metadata.xml 938 RMD160 d56fe21a5d0e3476dea7db8c325618f6ec007502 SHA1 47efe6a2dbcf0f11b04f1bd9d144e018ace7579d SHA256 2f009a0f62b8fc89cc7188d5bedfcd8cea774d70456f69454ad2ec6cd544a377
MD5 e1d1b17d24932d84db6122c279bf6008 metadata.xml 938
RMD160 d56fe21a5d0e3476dea7db8c325618f6ec007502 metadata.xml 938
@@ -22,3 +26,6 @@ SHA256 69b9a39439d61373b44cd98d5a6766587e7b8591bdbe286fd567bcc7bc45a941 files/di
MD5 9095c926cc97775a71698a77854a7e0f files/digest-xmlada-2.2.0 241
RMD160 e10ca0e13fc470316a4b1e5dc9a47def9c4afbc6 files/digest-xmlada-2.2.0 241
SHA256 8df79ecd4692dc89ae44a6a682763bf8eda2dac592bb8acaac67a4ff7f3eb5bb files/digest-xmlada-2.2.0 241
+MD5 9095c926cc97775a71698a77854a7e0f files/digest-xmlada-2.2.0-r1 241
+RMD160 e10ca0e13fc470316a4b1e5dc9a47def9c4afbc6 files/digest-xmlada-2.2.0-r1 241
+SHA256 8df79ecd4692dc89ae44a6a682763bf8eda2dac592bb8acaac67a4ff7f3eb5bb files/digest-xmlada-2.2.0-r1 241
diff --git a/dev-ada/xmlada/files/digest-xmlada-2.2.0-r1 b/dev-ada/xmlada/files/digest-xmlada-2.2.0-r1
new file mode 100644
index 000000000000..b01804e353aa
--- /dev/null
+++ b/dev-ada/xmlada/files/digest-xmlada-2.2.0-r1
@@ -0,0 +1,3 @@
+MD5 e7d1601603f3ee67bbd0233bc2f35198 xmlada-2.2.0.tar.bz2 591666
+RMD160 835c44aca5810a1ebab1840df7fc929012b87ed1 xmlada-2.2.0.tar.bz2 591666
+SHA256 3935a1a158a120bb53d5417a518b7283b5d97f478cf3af0f5e02222ae3b5c7b4 xmlada-2.2.0.tar.bz2 591666
diff --git a/dev-ada/xmlada/xmlada-2.2.0-r1.ebuild b/dev-ada/xmlada/xmlada-2.2.0-r1.ebuild
new file mode 100644
index 000000000000..d0c8cdfe3bf5
--- /dev/null
+++ b/dev-ada/xmlada/xmlada-2.2.0-r1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2007 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-r1.ebuild,v 1.1 2007/12/14 12:22:23 george Exp $
+
+inherit gnat versionator
+
+IUSE=""
+
+DESCRIPTION="XML library for Ada"
+HOMEPAGE="http://libre.adacore.com/xmlada/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+DEPEND="virtual/gnat
+ virtual/tetex
+ sys-apps/texinfo
+ >=sys-apps/sed-4"
+RDEPEND=""
+
+src_unpack()
+{
+ unpack ${A}
+ cd "${S}"
+
+ # adjusting profile independent stuff in project files
+# for fn in distrib/*/xmlada*.gpr; do
+# sed -i -e "s:../../include/xmlada:${AdalibSpecsDir}/${PN}:" ${fn}
+# done
+ sed -i -e "s:\.\./\.\./include/xmlada:${AdalibSpecsDir}/${PN}:" \
+ distrib/*/xmlada*.gpr || die "failed to adjust project files"
+
+ # fix profile independent stuff in xmlada-config
+ sed -i -e "s:\${prefix}/include/xmlada:${AdalibSpecsDir}/${PN}:" \
+ xmlada-config.in || die "failed to adjust xmlada-config"
+
+ # doinfo changed from gzipping stuff to bzipping, so we better rename the
+ # file before calling it to guard against other possible changes
+ mv docs/xml.info docs/${PN}.info
+}
+
+lib_compile()
+{
+ econf
+ emake
+}
+
+# NOTE: we are using $1 - the passed gnat profile name
+lib_install() {
+ make PREFIX="${DL}" install || die "install failed"
+
+ pushd "${DL}"
+ # fix xmlada-config hardsets locations and move it to proper location
+ sed -i -e "s:\${prefix}/lib/xmlada:${AdalibLibTop}/$1/${PN}:" \
+ -e "s:\${prefix}/lib:${AdalibLibTop}/$1/${PN}:g" \
+ bin/xmlada-config
+ mv bin/xmlada-config "${DLbin}"
+
+ # sed and organize gpr files
+ sed -i -e "s:\.\./xmlada:${AdalibLibTop}/$1/${PN}:" "${DL}"/lib/gnat/*.gpr
+ mv lib/gnat/* "${DLgpr}"
+
+ # the library and *.ali
+ mv lib/${PN}/* .
+ rm -rf bin include share lib
+
+ # fix the .so links
+ rm *.so
+ for fn in *.so.* ; do
+ ln -s ${fn} ${fn%so*}so
+ done
+ popd
+}
+
+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=%DLbin%" > ${LibEnv}
+ echo "LDPATH=%DL%" >> ${LibEnv}
+ echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv}
+ echo "ADA_INCLUDE_PATH=${AdalibSpecsDir}/${PN}" >> ${LibEnv}
+ echo "ADA_PROJECT_PATH=%DLgpr%" >> ${LibEnv}
+
+ gnat_src_install
+
+ dodoc AUTHORS COPYING README TODO features
+ dohtml docs/*.html
+ doinfo docs/*.info
+ 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}
+}