diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ada/xmlada |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ada/xmlada')
-rw-r--r-- | dev-ada/xmlada/Manifest | 6 | ||||
-rw-r--r-- | dev-ada/xmlada/files/xmlada-2016-gentoo.patch | 19 | ||||
-rw-r--r-- | dev-ada/xmlada/metadata.xml | 27 | ||||
-rw-r--r-- | dev-ada/xmlada/xmlada-2016.ebuild | 52 | ||||
-rw-r--r-- | dev-ada/xmlada/xmlada-2017.ebuild | 57 |
5 files changed, 161 insertions, 0 deletions
diff --git a/dev-ada/xmlada/Manifest b/dev-ada/xmlada/Manifest new file mode 100644 index 000000000000..8aa27f75e2db --- /dev/null +++ b/dev-ada/xmlada/Manifest @@ -0,0 +1,6 @@ +AUX xmlada-2016-gentoo.patch 736 SHA256 66e9636c44f7a512034c6b453aaebf7ee41df9a966635eabd70b3748bee051e0 SHA512 23de23e5af65b02133730cdc30112e1f0585019aa3e6154b30b029f3d2f3bec74d7fe93549d5c505426eb2a13e6b820bafb78c02885dd70c4f3bf66b754171d4 WHIRLPOOL 934ce64707ea5bd92410a5cb1568f5a2aa84e07191e24bb61d02289405f6f8f2b8076cc4fae9f93c359b5f680904865d0d9f84e4956cedbc023d7f77de3c679c +DIST xmlada-gpl-2016-src.tar.gz 1440671 SHA256 ea64d8da2c5fb01a257fc5bf474b8d4ec40b01dc15b320b9fe260ff2db668ba4 SHA512 d1d7c3d91731394235aed4b80c91b1babe30d5f184282fae8087ee556318475e3923ed628b805693fc89a4d9bb219b0fb0937bc5024a742226da0245d36ed652 WHIRLPOOL b6ebb927d801394ad0b62d9538142c420ab33627582059466d4f64b12c3a45b1b5b489019aef715a59101370220a78507fe03d97c9e67233dfcc4f3aad1f16d7 +DIST xmlada-gpl-2017-src.tar.gz 1578393 SHA256 9b103157eb3ecd697b597ad4e60f56f39028bc2d6ea513d2dce8a3b0e65ac54b SHA512 371f6adc01550a4bb13204ec0404dc1165438db595f4346813e5a23a155de74c857c40c55adde173919c2fe35b3b91d78b235c9718ee86bc848e62ddfd7fa2b4 WHIRLPOOL 4b2da3fb799f8def6eb6383a9483258340368cc80e96e8ffab207c3c8849c1279a80cf68ca47c8a20ce91c084041bdfa95128a14321454055534d804272ef4dd +EBUILD xmlada-2016.ebuild 1236 SHA256 113ece65503d569ee45c43ded37ee9feb1ab204b8ef8147eaca512f143ef5568 SHA512 49a1a17034d3e8a4600ae237750528a5568798ebfaf9144280f67eb1e393bb8c030caf09f2f2066b53bcdb415c709c5bbd11b47034cb9e84eae3b43b34fdb2d6 WHIRLPOOL 4515805164b49c90e50d16c56f6a509b897822f9f122f5826605d0d06e2c153fed6450bb21eee517014735e06dee74949f7b63caba9cd37ad615a367dae2531c +EBUILD xmlada-2017.ebuild 1480 SHA256 ae951953c56eb139bb2bc158a07a02566b3de9eb0d0efef8024f5125a38356e4 SHA512 93b51117c84e55abc54aebe54b95eee4c788044b83f1edbc626c8157a7eecab2c890ca41ac8a4f9530e251f20a1b3745493d1227c282415b78677535429d8a7f WHIRLPOOL 15e674a9263570c267c4d63353500faffe4d1ab1657960f36043f47a128717473125a9c043d16d9428a2e3adc187adc03fee62363713584888f8084351d99c83 +MISC metadata.xml 1125 SHA256 cfa482b10d38fcda4b7f335521ae521d9b0425c67d2dca54d85bf37482467cee SHA512 ab8a13a6e09513797895a7966adf026a21aa5f738853b039ec15d7091e32a8dd747c1c179ef92a24f2eb83f0a381c819f891bf35e6b4a90e1085aced8606f14d WHIRLPOOL 1a50bd49742d194e4a075d593ca9b5fc66c7d293eb399be54039a5362b1001d72b5b15823b528418da55642c4de6be82faf210a6938807a2c2e9aaf34cfdde54 diff --git a/dev-ada/xmlada/files/xmlada-2016-gentoo.patch b/dev-ada/xmlada/files/xmlada-2016-gentoo.patch new file mode 100644 index 000000000000..7c28a02289f8 --- /dev/null +++ b/dev-ada/xmlada/files/xmlada-2016-gentoo.patch @@ -0,0 +1,19 @@ +--- xmlada-2016-src/Makefile.in.old 2016-12-04 21:58:57.251338692 +0100 ++++ xmlada-2016-src/Makefile.in 2016-12-04 21:59:31.332755615 +0100 +@@ -49,13 +49,13 @@ + endif + + static: +- ${GPRBUILD} -p -XLIBRARY_TYPE=static ${GPROPTS} xmlada.gpr ++ ${GPRBUILD} -p -v -XLIBRARY_TYPE=static ${GPROPTS} xmlada.gpr -cargs $(ADAFLAGS) + + shared relocatable: +- ${GPRBUILD} -p -XLIBRARY_TYPE=relocatable ${GPROPTS} xmlada.gpr ++ ${GPRBUILD} -p -v -XLIBRARY_TYPE=relocatable ${GPROPTS} xmlada.gpr -cargs $(ADAFLAGS) + + static-pic: +- ${GPRBUILD} -p -XLIBRARY_TYPE=static-pic ${GPROPTS} xmlada.gpr ++ ${GPRBUILD} -p -v -XLIBRARY_TYPE=static-pic ${GPROPTS} xmlada.gpr -cargs $(ADAFLAGS) + + # Rebuild the tests (and not the XML/Ada code itself) + test: force diff --git a/dev-ada/xmlada/metadata.xml b/dev-ada/xmlada/metadata.xml new file mode 100644 index 000000000000..6a0e93a661fe --- /dev/null +++ b/dev-ada/xmlada/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>tupone@gentoo.org</email> + <name>Tupone Alfredo</name> + </maintainer> + <use> + <flag name="gnat_2016">Compile with dev-lang/gnat-gpl-2016</flag> + <flag name="gnat_2017">Compile with dev-lang/gnat-gpl-2017</flag> + <flag name="shared">Build shared library</flag> + <flag name="static">Build static library</flag> + <flag name="static-pic">Build static library with pic code</flag> + </use> + <longdescription lang="en"> + XML/Ada is a set of modules that provide a simple manipulation of XML + streams. It supports the whole XML 1.1 specifications, and can parse + any file that follows this standard (including the contents of the DTD, + although no validation of the document is done based on those). + + It also provides support for a number of other standard associated + with XML, like SAX, DOM and XML schemas. + + In addition, it includes a module to manipulate Unicode streams, since + this is required by the XML standard. + </longdescription> +</pkgmetadata> diff --git a/dev-ada/xmlada/xmlada-2016.ebuild b/dev-ada/xmlada/xmlada-2016.ebuild new file mode 100644 index 000000000000..51ef27e6c65e --- /dev/null +++ b/dev-ada/xmlada/xmlada-2016.ebuild @@ -0,0 +1,52 @@ +# 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_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 new file mode 100644 index 000000000000..b7d4d8f03d5c --- /dev/null +++ b/dev-ada/xmlada/xmlada-2017.ebuild @@ -0,0 +1,57 @@ +# 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/591aeb88c7a4473fcbb154f8 -> + ${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 + +src_configure () { + econf --prefix="${D}"/usr +} + +src_compile () { + if use shared; then + gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=relocatable \ + -XBUILD=Production -XPROCESSORS=$(makeopts_jobs) xmlada.gpr \ + -cargs ${ADAFLAGS} || die "gprbuild failed" + 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" + fi + done +} + +src_install () { + for kind in shared static static-pic; do + if use ${kind}; then + emake PROCESSORS=$(makeopts_jobs) install-${kind} + fi + done + einstalldocs + dodoc xmlada-roadmap.txt + rm "${D}"/usr/share/doc/${PN}/.buildinfo || die +} |