diff options
author | Craig Andrews <candrews@gentoo.org> | 2018-12-11 21:52:13 -0500 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2018-12-11 21:52:13 -0500 |
commit | 6fa7d68a0bb6995f11100d50182ad8cd7e61b235 (patch) | |
tree | 3863dceaf17134b2e7c570abfb8b6d7622bfe292 /dev-libs/xml-security-c/xml-security-c-2.0.2-r1.ebuild | |
parent | app-benchmarks/hey: new package (diff) | |
download | gentoo-6fa7d68a0bb6995f11100d50182ad8cd7e61b235.tar.gz gentoo-6fa7d68a0bb6995f11100d50182ad8cd7e61b235.tar.bz2 gentoo-6fa7d68a0bb6995f11100d50182ad8cd7e61b235.zip |
dev-libs/xml-security-c: Fix libressl support
Closes: https://bugs.gentoo.org/672718
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'dev-libs/xml-security-c/xml-security-c-2.0.2-r1.ebuild')
-rw-r--r-- | dev-libs/xml-security-c/xml-security-c-2.0.2-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/xml-security-c/xml-security-c-2.0.2-r1.ebuild b/dev-libs/xml-security-c/xml-security-c-2.0.2-r1.ebuild new file mode 100644 index 000000000000..afd103f43067 --- /dev/null +++ b/dev-libs/xml-security-c/xml-security-c-2.0.2-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Apache C++ XML security libraries" +HOMEPAGE="http://santuario.apache.org/" +SRC_URI="mirror://apache/santuario/c-library/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug examples libressl nss static-libs xalan" + +RDEPEND=">=dev-libs/xerces-c-3.2 + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + nss? ( dev-libs/nss ) + xalan? ( dev-libs/xalan-c )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" +PATCHES=( + "${FILESDIR}/${P}-libressl.patch" +) + +DOCS=( CHANGELOG.txt NOTICE.txt ) + +src_configure() { + econf \ + --with-openssl \ + $(use_enable static-libs static) \ + $(use_enable debug) \ + $(use_with xalan) \ + $(use_with nss) +} + +src_install() { + default + if use examples ; then + docinto examples + dodoc xsec/samples/*.cpp + fi +} |