summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2006-11-13 17:12:32 +0000
committerGeorge Shapovalov <george@gentoo.org>2006-11-13 17:12:32 +0000
commit594095da1193aee97ab75a3b8fd14c2ef4e7be95 (patch)
tree9b4cdd80882d74344c1748a34d0fbbc4a9b256e4 /dev-ada
parentremoved pkg_postinst and pulled intermediate (and broken) revisions (diff)
downloadhistorical-594095da1193aee97ab75a3b8fd14c2ef4e7be95.tar.gz
historical-594095da1193aee97ab75a3b8fd14c2ef4e7be95.tar.bz2
historical-594095da1193aee97ab75a3b8fd14c2ef4e7be95.zip
removed pkg_postinst and pulled intermediate (and broken) revisions
Package-Manager: portage-2.1.2_rc1-r5
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/xmlada/Manifest47
-rw-r--r--dev-ada/xmlada/files/digest-xmlada-1.0-r13
-rw-r--r--dev-ada/xmlada/files/digest-xmlada-1.0-r23
-rw-r--r--dev-ada/xmlada/files/digest-xmlada-1.0-r33
-rw-r--r--dev-ada/xmlada/xmlada-1.0-r1.ebuild106
-rw-r--r--dev-ada/xmlada/xmlada-1.0-r2.ebuild106
-rw-r--r--dev-ada/xmlada/xmlada-1.0-r3.ebuild106
7 files changed, 8 insertions, 366 deletions
diff --git a/dev-ada/xmlada/Manifest b/dev-ada/xmlada/Manifest
index ba25e2cf0c7c..6e757aa434f6 100644
--- a/dev-ada/xmlada/Manifest
+++ b/dev-ada/xmlada/Manifest
@@ -1,36 +1,21 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST XmlAda-0.7.1.tgz 312248
DIST XmlAda-1.0.tgz 322079 RMD160 08e23274cab3786527dccbd18c7ae891e37240ba SHA1 4762bcc1abf9d12f74be123c156fdb8929110b69 SHA256 e86ccd448574ff1ec2205f9bfbfa5812023dc4ce5d4b1c2e2c8b1ffbd29ce917
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
SHA256 9e58645a4b4bb930c139cf6595b7f90c0a9a9e67431b8a689837390ff9eef0dc xmlada-0.7.1-r2.ebuild 2682
-EBUILD xmlada-1.0-r1.ebuild 3032 RMD160 e3f8e7d640bf16a9202be72287ce13d1ba2948d3 SHA1 724853b5a00a4fcff435dfc5fac1d8cc3af8f546 SHA256 75dd8aa857e60ff4089b9859f86ff9810d24c7bdfd1c66b995ecc972278a7bf5
-MD5 7730492260f8c3e35fb4645ef4b1f8fe xmlada-1.0-r1.ebuild 3032
-RMD160 e3f8e7d640bf16a9202be72287ce13d1ba2948d3 xmlada-1.0-r1.ebuild 3032
-SHA256 75dd8aa857e60ff4089b9859f86ff9810d24c7bdfd1c66b995ecc972278a7bf5 xmlada-1.0-r1.ebuild 3032
-EBUILD xmlada-1.0-r2.ebuild 3029 RMD160 bedd9d5b0eec957519edb2890e891b95ea8f6e5b SHA1 6a85ea838fd2a78a81925694622144bc8b4c12a7 SHA256 538f435490294ce923b1cc25768116e967172a1f23e43adaf9d32ff6c27c47db
-MD5 bb1834883a9b4738591e4b9082f69ed9 xmlada-1.0-r2.ebuild 3029
-RMD160 bedd9d5b0eec957519edb2890e891b95ea8f6e5b xmlada-1.0-r2.ebuild 3029
-SHA256 538f435490294ce923b1cc25768116e967172a1f23e43adaf9d32ff6c27c47db xmlada-1.0-r2.ebuild 3029
-EBUILD xmlada-1.0-r3.ebuild 3022 RMD160 02d3c2b85f13f865bba96819745f69a568355a0c SHA1 a1cb7d48adba74c2e3b00295cb173b9067bcc747 SHA256 7227ccce4c0baefd23c6f93850a1457db06ec868a3760c3ae99f4459ced5bb8e
-MD5 4043299e537aa26e438ccd1fa462f215 xmlada-1.0-r3.ebuild 3022
-RMD160 02d3c2b85f13f865bba96819745f69a568355a0c xmlada-1.0-r3.ebuild 3022
-SHA256 7227ccce4c0baefd23c6f93850a1457db06ec868a3760c3ae99f4459ced5bb8e xmlada-1.0-r3.ebuild 3022
-EBUILD xmlada-1.0-r4.ebuild 3055 RMD160 8023b33e72307bf768a493db6352b78a847bd896 SHA1 b53d44585913fd25ace5f07f61b4c00c4226e32a SHA256 9b06cff81c743ff43b4345cda15ee44a22a73ab308e3309593bfef9ad96c8f3f
-MD5 b706af9e9fba33bb0db3cbcbbad48c46 xmlada-1.0-r4.ebuild 3055
-RMD160 8023b33e72307bf768a493db6352b78a847bd896 xmlada-1.0-r4.ebuild 3055
-SHA256 9b06cff81c743ff43b4345cda15ee44a22a73ab308e3309593bfef9ad96c8f3f xmlada-1.0-r4.ebuild 3055
+EBUILD xmlada-1.0-r4.ebuild 2735 RMD160 025c5cb649ac7394894e029f25b641480aad5c84 SHA1 683b0a6fb0ba45d64d4643b6be21070fbbd305e8 SHA256 d08d94cbcf923c5e755d5bf53c5da581a3c5530c94a3c6b91f1ff01473cca4ad
+MD5 92796e37968943dd88a1348e6cde5a9f xmlada-1.0-r4.ebuild 2735
+RMD160 025c5cb649ac7394894e029f25b641480aad5c84 xmlada-1.0-r4.ebuild 2735
+SHA256 d08d94cbcf923c5e755d5bf53c5da581a3c5530c94a3c6b91f1ff01473cca4ad xmlada-1.0-r4.ebuild 2735
EBUILD xmlada-1.0.ebuild 2674 RMD160 3e0ed594fdcb1e8fbfe65441e730461d94d24830 SHA1 8da938d6ca423ae746bac3dc54e9a5632c938339 SHA256 5e7466137ae63047ae21ff0909badd4cfd04a59c11c8243e5826415c7d4b8a53
MD5 410d5cb08015d40bd22d102c82653e7c xmlada-1.0.ebuild 2674
RMD160 3e0ed594fdcb1e8fbfe65441e730461d94d24830 xmlada-1.0.ebuild 2674
SHA256 5e7466137ae63047ae21ff0909badd4cfd04a59c11c8243e5826415c7d4b8a53 xmlada-1.0.ebuild 2674
-MISC ChangeLog 3228 RMD160 fa85c4e5ba15bcc0154756a4511eed9bf9115ccc SHA1 8ef22b2384a3eb72d7f63bd923ec4e294fcb4430 SHA256 387048d31ecb0f2dbcb32750f1673e628b0b39ee3cdf64d43e92acfa3f5c110e
-MD5 217845c600a56ffcea0d7dfb8252d94f ChangeLog 3228
-RMD160 fa85c4e5ba15bcc0154756a4511eed9bf9115ccc ChangeLog 3228
-SHA256 387048d31ecb0f2dbcb32750f1673e628b0b39ee3cdf64d43e92acfa3f5c110e ChangeLog 3228
+MISC ChangeLog 3460 RMD160 7fe078e599348a3031ab96edf388aae6e242cbe5 SHA1 9c67441d8c6a8e6d43f3491acb62c03a7594fe78 SHA256 0ac5df47f6bc590e66a45bd0fb035ca6471b0cea86d234f98299443debf3d5a0
+MD5 36bd28e1b2a3b817d2bf85d8a7d6603a ChangeLog 3460
+RMD160 7fe078e599348a3031ab96edf388aae6e242cbe5 ChangeLog 3460
+SHA256 0ac5df47f6bc590e66a45bd0fb035ca6471b0cea86d234f98299443debf3d5a0 ChangeLog 3460
MISC metadata.xml 938 RMD160 d56fe21a5d0e3476dea7db8c325618f6ec007502 SHA1 47efe6a2dbcf0f11b04f1bd9d144e018ace7579d SHA256 2f009a0f62b8fc89cc7188d5bedfcd8cea774d70456f69454ad2ec6cd544a377
MD5 e1d1b17d24932d84db6122c279bf6008 metadata.xml 938
RMD160 d56fe21a5d0e3476dea7db8c325618f6ec007502 metadata.xml 938
@@ -41,22 +26,6 @@ SHA256 29330e00963dddde548f0921cb7d679cb63a93d904af4f5f30e4f2f1ac06a6e3 files/di
MD5 299eeb6a952f9e3305b5fdde97edb62f files/digest-xmlada-1.0 223
RMD160 fe8484ffc2ac0a6b85475820d0a5f0830ac6020a files/digest-xmlada-1.0 223
SHA256 69b9a39439d61373b44cd98d5a6766587e7b8591bdbe286fd567bcc7bc45a941 files/digest-xmlada-1.0 223
-MD5 299eeb6a952f9e3305b5fdde97edb62f files/digest-xmlada-1.0-r1 223
-RMD160 fe8484ffc2ac0a6b85475820d0a5f0830ac6020a files/digest-xmlada-1.0-r1 223
-SHA256 69b9a39439d61373b44cd98d5a6766587e7b8591bdbe286fd567bcc7bc45a941 files/digest-xmlada-1.0-r1 223
-MD5 299eeb6a952f9e3305b5fdde97edb62f files/digest-xmlada-1.0-r2 223
-RMD160 fe8484ffc2ac0a6b85475820d0a5f0830ac6020a files/digest-xmlada-1.0-r2 223
-SHA256 69b9a39439d61373b44cd98d5a6766587e7b8591bdbe286fd567bcc7bc45a941 files/digest-xmlada-1.0-r2 223
-MD5 299eeb6a952f9e3305b5fdde97edb62f files/digest-xmlada-1.0-r3 223
-RMD160 fe8484ffc2ac0a6b85475820d0a5f0830ac6020a files/digest-xmlada-1.0-r3 223
-SHA256 69b9a39439d61373b44cd98d5a6766587e7b8591bdbe286fd567bcc7bc45a941 files/digest-xmlada-1.0-r3 223
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
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.3 (GNU/Linux)
-
-iD8DBQFEzNhiI1lqEGTUzyQRAhO9AKCxylqhFA96UwE3v9iw/7/CRWXAvACfbR0r
-PiaxRUYZZMh98HamMw8UvMk=
-=+tKS
------END PGP SIGNATURE-----
diff --git a/dev-ada/xmlada/files/digest-xmlada-1.0-r1 b/dev-ada/xmlada/files/digest-xmlada-1.0-r1
deleted file mode 100644
index 9fd54c6ed23c..000000000000
--- a/dev-ada/xmlada/files/digest-xmlada-1.0-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 1f7a2b701dfe82ff09407e6a18540b77 XmlAda-1.0.tgz 322079
-RMD160 08e23274cab3786527dccbd18c7ae891e37240ba XmlAda-1.0.tgz 322079
-SHA256 e86ccd448574ff1ec2205f9bfbfa5812023dc4ce5d4b1c2e2c8b1ffbd29ce917 XmlAda-1.0.tgz 322079
diff --git a/dev-ada/xmlada/files/digest-xmlada-1.0-r2 b/dev-ada/xmlada/files/digest-xmlada-1.0-r2
deleted file mode 100644
index 9fd54c6ed23c..000000000000
--- a/dev-ada/xmlada/files/digest-xmlada-1.0-r2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 1f7a2b701dfe82ff09407e6a18540b77 XmlAda-1.0.tgz 322079
-RMD160 08e23274cab3786527dccbd18c7ae891e37240ba XmlAda-1.0.tgz 322079
-SHA256 e86ccd448574ff1ec2205f9bfbfa5812023dc4ce5d4b1c2e2c8b1ffbd29ce917 XmlAda-1.0.tgz 322079
diff --git a/dev-ada/xmlada/files/digest-xmlada-1.0-r3 b/dev-ada/xmlada/files/digest-xmlada-1.0-r3
deleted file mode 100644
index 9fd54c6ed23c..000000000000
--- a/dev-ada/xmlada/files/digest-xmlada-1.0-r3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 1f7a2b701dfe82ff09407e6a18540b77 XmlAda-1.0.tgz 322079
-RMD160 08e23274cab3786527dccbd18c7ae891e37240ba XmlAda-1.0.tgz 322079
-SHA256 e86ccd448574ff1ec2205f9bfbfa5812023dc4ce5d4b1c2e2c8b1ffbd29ce917 XmlAda-1.0.tgz 322079
diff --git a/dev-ada/xmlada/xmlada-1.0-r1.ebuild b/dev-ada/xmlada/xmlada-1.0-r1.ebuild
deleted file mode 100644
index 2b0e01091fd5..000000000000
--- a/dev-ada/xmlada/xmlada-1.0-r1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# 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-1.0-r1.ebuild,v 1.1 2006/05/15 10:11:02 george Exp $
-
-inherit gnat versionator
-
-IUSE=""
-
-Name="XmlAda"
-
-DESCRIPTION="XML library for Ada"
-HOMEPAGE="http://libre2.adacore.com/xmlada/"
-SRC_URI="https://libre2.adacore.com/xmlada/${Name}-${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-
-DEPEND="virtual/gnat
- >=sys-apps/sed-4"
-RDEPEND=""
-
-
-src_unpack()
-{
- gnat_src_unpack
-
- cd ${S}
- #making .dvi docs is problemmatic. Skip that for now
- sed -i -e "s/all: obj test docs/all: obj test/" Makefile.in
- #increase stack size
- cd sax
- sed -i -e "s/Stack_Size : constant Natural := 64;/Stack_Size : constant Natural := 128;/" sax-readers.adb
-}
-
-lib_compile()
-{
- # for some reason shared libs are assigned version numbers from some
- # pre-release (possibly when upstream stopped to care about them?)
- local MAJOR=$(get_major_version)
- local MINOR=$(get_version_component_range 2-)
- # force building shared libs and fix broken shared lib versioning
- sed -i -e "s:BUILD_SHARED=FALSE:BUILD_SHARED=TRUE:" \
- -e "s:libxmlada_\${@\:%_install=%}-\${MAJOR}.\${MINOR}.so:libxmlada_\${@\:%_install=%}.so.${MAJOR}.${MINOR}:" \
- -e "s:libxmlada_\${@\:%_inst=%}-\${MAJOR}.\${MINOR}.so:libxmlada_\${@\:%_inst=%}.so.${MAJOR}.${MINOR}:" \
- -e "s:FPIC=:FPIC=-fPIC:" Makefile.in
-
- export CFLAGS=$ADACFLAGS
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --enable-shared \
- --host=${CHOST} \
- --build=${CHOST} \
- --target=${CHOST} \
- --with-system-zlib || die
-
- export COMPILER=gnatmake
- make || die "make failed"
-}
-
-# here we need to use the $1 - 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:${AdalibLibTop}/$1/${PN}: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}/bin ${DL}/include ${DL}/lib
-}
-
-src_install ()
-{
- cd ${S}
- dodir ${AdalibSpecsDir}/${PN}
- insinto ${AdalibSpecsDir}/${PN}
- doins dom/*.ad? input_sources/*.ad? sax/*.ad? unicode/*.ad?
-
- #set up environment
- echo "PATH=%DL%" > ${LibEnv}
- echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv}
- echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" >> ${LibEnv}
-
- gnat_src_install
-
- dodoc AUTHORS COPYING README docs/xml.ps
- dohtml docs/*.html
- doinfo docs/*.info
- #need to give a proper name to the info file
- cd ${D}/usr/share/info
- mv xml.info.gz ${PN}.info.gz
-
-}
-
-pkg_postinst() {
- eselect gnat update
- einfo "The environment has been set up to make gnat automatically find files for"
- einfo "XmlAda. 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/xmlada/xmlada-1.0-r2.ebuild b/dev-ada/xmlada/xmlada-1.0-r2.ebuild
deleted file mode 100644
index 67d8703d879d..000000000000
--- a/dev-ada/xmlada/xmlada-1.0-r2.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# 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-1.0-r2.ebuild,v 1.1 2006/05/16 21:28:39 george Exp $
-
-inherit gnat versionator
-
-IUSE=""
-
-Name="XmlAda"
-
-DESCRIPTION="XML library for Ada"
-HOMEPAGE="http://libre2.adacore.com/xmlada/"
-SRC_URI="https://libre2.adacore.com/xmlada/${Name}-${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-
-DEPEND="virtual/gnat
- >=sys-apps/sed-4"
-RDEPEND=""
-
-
-src_unpack()
-{
- gnat_src_unpack
-
- cd ${S}
- #making .dvi docs is problemmatic. Skip that for now
- sed -i -e "s/all: obj test docs/all: obj test/" Makefile.in
- #increase stack size
- cd sax
- sed -i -e "s/Stack_Size : constant Natural := 64;/Stack_Size : constant Natural := 128;/" sax-readers.adb
-}
-
-lib_compile()
-{
- # for some reason shared libs are assigned version numbers from some
- # pre-release (possibly when upstream stopped to care about them?)
- local MAJOR=$(get_major_version)
- local MINOR=$(get_version_component_range 2-)
- # force building shared libs and fix broken shared lib versioning
- sed -i -e "s:BUILD_SHARED=FALSE:BUILD_SHARED=TRUE:" \
- -e "s:libxmlada_\${@\:%_install=%}-\${MAJOR}.\${MINOR}.so:libxmlada_\${@\:%_inst=%}.so.${MAJOR}.${MINOR}:" \
- -e "s:libxmlada_\${@\:%_inst=%}-\${MAJOR}.\${MINOR}.so:libxmlada_\${@\:%_inst=%}.so.${MAJOR}.${MINOR}:" \
- -e "s:FPIC=:FPIC=-fPIC:" Makefile.in
-
- export CFLAGS=$ADACFLAGS
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --enable-shared \
- --host=${CHOST} \
- --build=${CHOST} \
- --target=${CHOST} \
- --with-system-zlib || die
-
- export COMPILER=gnatmake
- make || die "make failed"
-}
-
-# here we need to use the $1 - 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:${AdalibLibTop}/$1/${PN}: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}/bin ${DL}/include ${DL}/lib
-}
-
-src_install ()
-{
- cd ${S}
- dodir ${AdalibSpecsDir}/${PN}
- insinto ${AdalibSpecsDir}/${PN}
- doins dom/*.ad? input_sources/*.ad? sax/*.ad? unicode/*.ad?
-
- #set up environment
- echo "PATH=%DL%" > ${LibEnv}
- echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv}
- echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" >> ${LibEnv}
-
- gnat_src_install
-
- dodoc AUTHORS COPYING README docs/xml.ps
- dohtml docs/*.html
- doinfo docs/*.info
- #need to give a proper name to the info file
- cd ${D}/usr/share/info
- mv xml.info.gz ${PN}.info.gz
-
-}
-
-pkg_postinst() {
- eselect gnat update
- einfo "The environment has been set up to make gnat automatically find files for"
- einfo "XmlAda. 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/xmlada/xmlada-1.0-r3.ebuild b/dev-ada/xmlada/xmlada-1.0-r3.ebuild
deleted file mode 100644
index be4646dd6c50..000000000000
--- a/dev-ada/xmlada/xmlada-1.0-r3.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# 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-1.0-r3.ebuild,v 1.1 2006/05/25 17:45:36 george Exp $
-
-inherit gnat versionator
-
-IUSE=""
-
-Name="XmlAda"
-
-DESCRIPTION="XML library for Ada"
-HOMEPAGE="http://libre2.adacore.com/xmlada/"
-SRC_URI="https://libre2.adacore.com/xmlada/${Name}-${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-
-DEPEND="virtual/gnat
- >=sys-apps/sed-4"
-RDEPEND=""
-
-
-src_unpack()
-{
- gnat_src_unpack
-
- cd ${S}
- #making .dvi docs is problemmatic. Skip that for now
- sed -i -e "s/all: obj test docs/all: obj test/" Makefile.in
- #increase stack size
- cd sax
- sed -i -e "s/Stack_Size : constant Natural := 64;/Stack_Size : constant Natural := 128;/" sax-readers.adb
-}
-
-lib_compile()
-{
- # for some reason shared libs are assigned version numbers from some
- # pre-release (possibly when upstream stopped to care about them?)
- local MAJOR=$(get_major_version)
- local MINOR=$(get_version_component_range 2-)
- # force building shared libs and fix broken shared lib versioning
- sed -i -e "s:BUILD_SHARED=FALSE:BUILD_SHARED=TRUE:" \
- -e "s:libxmlada_\${@\:%_install=%}-\${MAJOR}.\${MINOR}.so:libxmlada_\${@\:%_inst=%}.so.${MAJOR}.${MINOR}:" \
- -e "s:libxmlada_\${@\:%_inst=%}-\${MAJOR}.\${MINOR}.so:libxmlada_\${@\:%_inst=%}.so.${MAJOR}.${MINOR}:" \
- -e "s:FPIC=:FPIC=-fPIC:" Makefile.in
-
- export CFLAGS=$ADACFLAGS
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --enable-shared \
- --host=${CHOST} \
- --build=${CHOST} \
- --target=${CHOST} \
- --with-system-zlib || die
-
- export COMPILER=gnatmake
- make || die "make failed"
-}
-
-# here we need to use the $1 - 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:${AdalibLibTop}/$1/${PN}: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}/bin ${DL}/include ${DL}/lib
-}
-
-src_install ()
-{
- cd ${S}
- dodir ${AdalibSpecsDir}/${PN}
- insinto ${AdalibSpecsDir}/${PN}
- doins dom/*.ad? input_sources/*.ad? sax/*.ad? unicode/*.ad?
-
- #set up environment
- echo "PATH=%DL%" > ${LibEnv}
- echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv}
- echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" >> ${LibEnv}
-
- gnat_src_install
-
- dodoc AUTHORS COPYING README docs/xml.ps
- dohtml docs/*.html
- doinfo docs/*.info
- #need to give a proper name to the info file
- cd ${D}/usr/share/info
- mv xml.info.gz ${PN}.info.gz
-
-}
-
-pkg_postinst() {
- eselect gnat update
- einfo "The environment has been set up to make gnat automatically find files for"
- einfo "XmlAda. 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"
-}