diff options
Diffstat (limited to 'dev-libs/xalan-c')
-rw-r--r-- | dev-libs/xalan-c/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/xalan-c/metadata.xml | 8 | ||||
-rw-r--r-- | dev-libs/xalan-c/xalan-c-1.12.ebuild | 59 | ||||
-rw-r--r-- | dev-libs/xalan-c/xalan-c-9999.ebuild | 59 |
4 files changed, 127 insertions, 1 deletions
diff --git a/dev-libs/xalan-c/Manifest b/dev-libs/xalan-c/Manifest index c7eb353b1841..6ea0a59902b7 100644 --- a/dev-libs/xalan-c/Manifest +++ b/dev-libs/xalan-c/Manifest @@ -1 +1,3 @@ DIST Xalan-C_r1153059-src.tar.gz 1573651 BLAKE2B 5e684b80bc962776c1e0102a97023ee3a9b9357b6fc05e02687971d5d879b01a5dc426fd6ab2af68a7ad6ec48a799d70fd912a4e3a30d8e3a22a954d84d21f59 SHA512 2382c1343ae97d0196d84053139758d3b3b7574bcd835b754e34acdc6ab708a58fc23d2f27d41870c768c78a1de7be1bb6031cc78d205b6024f1ad7cd6fca653 +DIST xalan_c-1.12.tar.gz 1130924 BLAKE2B c2f0fb98d39e516d5219ab0e075517c2c916b451bfce6d90399899870a8a73fb59f8d2465f58bd97208d19c5a7a18df5a49ece156d8dfe47bf57fc875793fb43 SHA512 a9f72f0e8e199ee2cfb4c19ecf390d5007f597aad96a53f55bc475805190302c7e0d800d776b7fb20fe8e2dddb6391e70aa3a8861a2303370135e8b0a5fd15fc +DIST xalan_c-1.12.tar.gz.asc 488 BLAKE2B 1e5d7091ca184ac7e2897fe52417b01d9618ab0435f2bcc7748d563287ad81692e61bee92ec9bc71e5c21c11bc8245a4ec09ff7e6ed44a4b3113264b096ba277 SHA512 1c532367d5a3f16622cda3eaca05eac648b415a9de8685cf43f5e62683db30b396e669b6952f5bbe161327b8171cd1e54ad4dbefa54122243aa01298d53d400d diff --git a/dev-libs/xalan-c/metadata.xml b/dev-libs/xalan-c/metadata.xml index 85e4ed814fa2..2f2c528629de 100644 --- a/dev-libs/xalan-c/metadata.xml +++ b/dev-libs/xalan-c/metadata.xml @@ -1,5 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<!-- maintainer-needed --> +<maintainer type="person"> + <email>ceamac@gentoo.org</email> + <name>Viorel Munteanu</name> +</maintainer> +<upstream> + <remote-id type="github">apache/xalan-c</remote-id> +</upstream> </pkgmetadata> diff --git a/dev-libs/xalan-c/xalan-c-1.12.ebuild b/dev-libs/xalan-c/xalan-c-1.12.ebuild new file mode 100644 index 000000000000..c4f9eac0ffdc --- /dev/null +++ b/dev-libs/xalan-c/xalan-c-1.12.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_PN=${PN/-/_} +DESCRIPTION="XSLT processor for transforming XML into HTML, text, or other XML types" +HOMEPAGE="https://apache.github.io/xalan-c/" +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/apache/xalan-c.git" + + SLOT="0" +else + inherit verify-sig + SRC_URI=" + mirror://apache/xalan/xalan-c/sources/${MY_PN}-${PV}.tar.gz + verify-sig? ( https://dlcdn.apache.org/xalan/xalan-c/sources/${MY_PN}-${PV}.tar.gz.asc ) + " + VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/apache-xalan-c.asc + + SLOT="0/$(ver_cut 1-2)" + KEYWORDS="~amd64 ~ppc ~x86" + S="${WORKDIR}/${MY_PN}-${PV}" + BDEPEND=" + verify-sig? ( sec-keys/openpgp-keys-apache-xalan-c ) + " +fi + +LICENSE="Apache-2.0" +IUSE="doc" + +RDEPEND=" + dev-libs/icu:= + dev-libs/xerces-c[icu] +" +DEPEND="${RDEPEND}" +BDEPEND+=" + doc? ( app-doc/doxygen[dot] ) +" + +src_configure() { + local mycmakeargs=( + -DBUILD_DOXYGEN=$(usex doc) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use doc; then + docinto examples + dodoc -r samples/*/ + fi +} diff --git a/dev-libs/xalan-c/xalan-c-9999.ebuild b/dev-libs/xalan-c/xalan-c-9999.ebuild new file mode 100644 index 000000000000..c4f9eac0ffdc --- /dev/null +++ b/dev-libs/xalan-c/xalan-c-9999.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_PN=${PN/-/_} +DESCRIPTION="XSLT processor for transforming XML into HTML, text, or other XML types" +HOMEPAGE="https://apache.github.io/xalan-c/" +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/apache/xalan-c.git" + + SLOT="0" +else + inherit verify-sig + SRC_URI=" + mirror://apache/xalan/xalan-c/sources/${MY_PN}-${PV}.tar.gz + verify-sig? ( https://dlcdn.apache.org/xalan/xalan-c/sources/${MY_PN}-${PV}.tar.gz.asc ) + " + VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/apache-xalan-c.asc + + SLOT="0/$(ver_cut 1-2)" + KEYWORDS="~amd64 ~ppc ~x86" + S="${WORKDIR}/${MY_PN}-${PV}" + BDEPEND=" + verify-sig? ( sec-keys/openpgp-keys-apache-xalan-c ) + " +fi + +LICENSE="Apache-2.0" +IUSE="doc" + +RDEPEND=" + dev-libs/icu:= + dev-libs/xerces-c[icu] +" +DEPEND="${RDEPEND}" +BDEPEND+=" + doc? ( app-doc/doxygen[dot] ) +" + +src_configure() { + local mycmakeargs=( + -DBUILD_DOXYGEN=$(usex doc) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use doc; then + docinto examples + dodoc -r samples/*/ + fi +} |