diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-30 01:11:30 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-30 01:11:30 +0000 |
commit | 76dfef0cec9170000357d2f354e412daf48941fc (patch) | |
tree | 56647120c0ee20ab3494475c86722034cd194b02 /dev-ada/xmlada | |
parent | ccf84bcd604130256d1377cd58f0a634ae6ee20f (diff) |
gentoo resync : 30.12.2017
Diffstat (limited to 'dev-ada/xmlada')
-rw-r--r-- | dev-ada/xmlada/Manifest | 4 | ||||
-rw-r--r-- | dev-ada/xmlada/xmlada-2016.ebuild | 57 | ||||
-rw-r--r-- | dev-ada/xmlada/xmlada-2017.ebuild | 33 |
3 files changed, 29 insertions, 65 deletions
diff --git a/dev-ada/xmlada/Manifest b/dev-ada/xmlada/Manifest index e0fe04022d28..bdede8896289 100644 --- a/dev-ada/xmlada/Manifest +++ b/dev-ada/xmlada/Manifest @@ -1,7 +1,5 @@ AUX xmlada-2016-gentoo.patch 1573 BLAKE2B a6c2d94f32fdea812777543eeef5403c6dcabd3314411a58cadcf0c877f3cf315c75e4147ec07be66ffa5d20a1b6672408aadc6c8dff5ececc1c891c4f1a1bb7 SHA512 c30789f6e5bfccbda41ac1742991dab5f7d4acf9fdac33247a68c47ae2c66f6451e918b005fe69af3f488c233a2a70b7eb791c5993d20c43f5d270e3a6693795 AUX xmlada-2017-gentoo.patch 1133 BLAKE2B 6b15f8225c8d4094417f20b61261fc247a4c9290831265b15cf1a3f865d532c6e685cebf5c8cf635fc51ae0a44386428ee8b9300738a5fe0c2951e4a68cb7bb8 SHA512 47d383b18c6c46653c5369b691af47d8b7ea333d32d7ddcc5cb6831dea08dbfeec353ffa0e4de279baff4fedf911c39e28a6608529357ad70b9c1ce0a9a42b49 -DIST xmlada-gpl-2016-src.tar.gz 1440671 BLAKE2B 32998fbdb680f3a1ea7915f144c3039441d8608ded9fe2df99d9b5c9d13436a020c25a9773cced753ffa3ff89a918bbb1ef3ca310cbc58f583682deb7dcc9d09 SHA512 d1d7c3d91731394235aed4b80c91b1babe30d5f184282fae8087ee556318475e3923ed628b805693fc89a4d9bb219b0fb0937bc5024a742226da0245d36ed652 DIST xmlada-gpl-2017-src.tar.gz 1578393 BLAKE2B 7b4894040b6044e86c96cbd530ebda5c0cfc4ad0e2b472d46798a93f535aca0916b03385a3aef49bd4e59d508a9665c856360e9cab0a4f67b15091228b629d81 SHA512 371f6adc01550a4bb13204ec0404dc1165438db595f4346813e5a23a155de74c857c40c55adde173919c2fe35b3b91d78b235c9718ee86bc848e62ddfd7fa2b4 -EBUILD xmlada-2016.ebuild 1300 BLAKE2B 85a44117b4e06011b98826db73e27170103c3dc0a4836dbbb4e52173e655470c57146c24235e3000f348b28117476ee9afe2ccd1b035afa695edd2e8517358b8 SHA512 ac3e75f8dfb7907865a1a72c4c33b9610899fa2d8f64b3b79bb3776b222cce3e86bcd2d30d28a6ec48608f64edd8940223aa46429ac5794ba50d4e483dc186a4 -EBUILD xmlada-2017.ebuild 1589 BLAKE2B 6ced473010522b1edd37d2bf9c16125a4cb6a54bfe006f35d18a3331ebf7acbf02a278b61359d4d75cb18b6eb7804858547f64937a2fa50ec86963cbef0a8bf0 SHA512 e9b59268de457144eaf7a06a738dfc3b5345977099d7bab0d00396ba28cafa4bfb615b6132bbdb34fc2335eb3c93087e86498f147a35d4e77f3dac8103ab4809 +EBUILD xmlada-2017.ebuild 2005 BLAKE2B ef14d181496c26de1ebe71cf496830ea75015c816ee6b28fcb8d60c40cb8c8cc78ba6ae446f79ab8ff16abb47801ce4830142af0b603f53e0fd365161c0e9d99 SHA512 81a6efd7a7959958f496e8d3e5a73bdcce62c995f2bdbeb11d6b95c424421317492feb6f028355336e991052366074e609550184882da73bc98b4d812cf69ff4 MISC metadata.xml 1125 BLAKE2B 83c42db46eee7113a19c4cabb92e2f2b4607609e3ee4b624a5cf680c9a5d0b8394f31f9f99b973cd563b04a268aaab2f74f4bc2c1209179235f9f4814363087d SHA512 ab8a13a6e09513797895a7966adf026a21aa5f738853b039ec15d7091e32a8dd747c1c179ef92a24f2eb83f0a381c819f891bf35e6b4a90e1085aced8606f14d diff --git a/dev-ada/xmlada/xmlada-2016.ebuild b/dev-ada/xmlada/xmlada-2016.ebuild deleted file mode 100644 index 585a5492bb7d..000000000000 --- a/dev-ada/xmlada/xmlada-2016.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit multiprocessing - -MYP=${PN}-gpl-${PV} - -DESCRIPTION="Set of modules that provide a simple manipulation of XML streams" -HOMEPAGE="http://libre.adacore.com/" -SRC_URI="http://mirrors.cdn.adacore.com/art/57399978c7a447658e0affc0 -> - ${MYP}-src.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+gnat_2016 gnat_2017 +shared static static-pic" -REQUIRED_USE="|| ( shared static static-pic ) - ^^ ( gnat_2016 gnat_2017 )" - -RDEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 ) - gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )" -DEPEND="${RDEPEND} - dev-ada/gprbuild[gnat_2016=,gnat_2017=]" - -S="${WORKDIR}"/${MYP}-src - -PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) - -src_configure () { - econf --prefix="${D}"/usr -} - -src_compile () { - for kind in shared static static-pic; do - if use ${kind}; then - emake PROCESSORS=$(makeopts_jobs) ${kind} - fi - done -} - -src_test() { - emake test - emake run_test | grep DIFF && die -} - -src_install () { - for kind in shared static static-pic; do - if use ${kind}; then - emake PROCESSORS=$(makeopts_jobs) DESTDIR="${D}" install-${kind} - fi - done - einstalldocs - dodoc features-* known-problems-* xmlada-roadmap.txt - rm "${D}"/usr/share/doc/${PN}/.buildinfo || die -} diff --git a/dev-ada/xmlada/xmlada-2017.ebuild b/dev-ada/xmlada/xmlada-2017.ebuild index b80b4c4237f5..04b53bcdf500 100644 --- a/dev-ada/xmlada/xmlada-2017.ebuild +++ b/dev-ada/xmlada/xmlada-2017.ebuild @@ -33,16 +33,17 @@ src_configure () { } src_compile () { - if use shared; then - gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=relocatable \ + build () { + gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=$1 \ -XBUILD=Production -XPROCESSORS=$(makeopts_jobs) xmlada.gpr \ -cargs ${ADAFLAGS} || die "gprbuild failed" + } + if use shared; then + build relocatable fi for kind in static static-pic; do if use ${kind}; then - gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=${kind} \ - -XBUILD=Production -XPROCESSORS=$(makeopts_jobs) xmlada.gpr \ - -cargs ${ADAFLAGS} || die "gprbuild failed" + build ${kind} fi done } @@ -53,11 +54,33 @@ src_test() { } src_install () { + local includedir=/usr/include/${PN} + + fix_install () { + mv "${D}"${includedir}/$1.$2/* "${D}"${includedir}/$1/ || die + for file in "${D}"${includedir}/$1/*; do + dosym ../$1/$(basename ${file}) \ + ${includedir}/$1.$2/$(basename ${file}) + done + } + for kind in shared static static-pic; do if use ${kind}; then emake PROCESSORS=$(makeopts_jobs) install-${kind} fi done + rm "${D}"/usr/lib/libxmlada_* || die + for dir in xmlada_{dom,input,sax,schema,unicode}; do + dodir /usr/include/${PN}/${dir} + if use shared; then + fix_install ${dir} relocatable + fi + for kind in static static-pic; do + if use ${kind}; then + fix_install ${dir} ${kind} + fi + done + done einstalldocs dodoc xmlada-roadmap.txt rm "${D}"/usr/share/doc/${PN}/.buildinfo || die |