| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.0.2 | 7 | ~amd64 ~x86 | 0 |
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Apache C++ XML security libraries"
HOMEPAGE="https://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
!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,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
}
dev-libs/xerces-c !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) nss? ( dev-libs/nss ) xalan? ( dev-libs/xalan-c )
dev-libs/xerces-c !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) nss? ( dev-libs/nss ) xalan? ( dev-libs/xalan-c )
virtual/pkgconfig
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | xml-security-c-2.0.2.tar.gz | 904933 bytes | mirror://apache/santuario/c-library/xml-security-c-2.0.2.tar.gz |