From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../xml-security-c/xml-security-c-1.7.3.ebuild | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 dev-libs/xml-security-c/xml-security-c-1.7.3.ebuild (limited to 'dev-libs/xml-security-c/xml-security-c-1.7.3.ebuild') diff --git a/dev-libs/xml-security-c/xml-security-c-1.7.3.ebuild b/dev-libs/xml-security-c/xml-security-c-1.7.3.ebuild new file mode 100644 index 000000000000..19b14771f99b --- /dev/null +++ b/dev-libs/xml-security-c/xml-security-c-1.7.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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.1 + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + nss? ( dev-libs/nss ) + xalan? ( dev-libs/xalan-c )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( CHANGELOG.txt NOTICE.txt ) +PATCHES=( + "${FILESDIR}/${PN}-1.6.1-nss-compilation-fix.patch" + "${FILESDIR}/${PN}-1.7.3-fix-c++14.patch" +) + +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 +} -- cgit v1.2.3