diff options
author | Sam James <sam@gentoo.org> | 2021-05-04 21:58:31 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-05-04 22:00:31 +0000 |
commit | 2e00aa9188555475fc9f38c02f58419caf6d5a63 (patch) | |
tree | 835879321a6263f1b59595541b8417b998749249 /dev-libs/xmlsec/xmlsec-1.2.32.ebuild | |
parent | dev-python/python-xmlsec: add 1.3.10 (diff) | |
download | gentoo-2e00aa9188555475fc9f38c02f58419caf6d5a63.tar.gz gentoo-2e00aa9188555475fc9f38c02f58419caf6d5a63.tar.bz2 gentoo-2e00aa9188555475fc9f38c02f58419caf6d5a63.zip |
dev-libs/xmlsec: add 1.2.32
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/xmlsec/xmlsec-1.2.32.ebuild')
-rw-r--r-- | dev-libs/xmlsec/xmlsec-1.2.32.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/dev-libs/xmlsec/xmlsec-1.2.32.ebuild b/dev-libs/xmlsec/xmlsec-1.2.32.ebuild new file mode 100644 index 000000000000..d6a154c62367 --- /dev/null +++ b/dev-libs/xmlsec/xmlsec-1.2.32.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Command line tool for signing, verifying, encrypting and decrypting XML" +HOMEPAGE="https://www.aleksey.com/xmlsec" +SRC_URI="https://www.aleksey.com/xmlsec/download/${PN}1-${PV}.tar.gz" +S="${WORKDIR}/${PN}1-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc gcrypt gnutls nss +openssl static-libs test" +RESTRICT="!test? ( test )" +REQUIRED_USE="|| ( gcrypt gnutls nss openssl ) + gnutls? ( gcrypt )" + +RDEPEND=">=dev-libs/libxml2-2.7.4:= + >=dev-libs/libxslt-1.0.20:= + gcrypt? ( >=dev-libs/libgcrypt-1.4.0:0= ) + gnutls? ( >=net-libs/gnutls-2.8.0:= ) + nss? ( + >=dev-libs/nspr-4.4.1:= + >=dev-libs/nss-3.9:= + ) + openssl? ( + dev-libs/openssl:0= + )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + test? ( + nss? ( + >=dev-libs/nss-3.9[utils] + ) + )" + +src_configure() { + # Bash because of bug #721128 + CONFIG_SHELL=${BASH} econf \ + $(use_enable doc docs) \ + $(use_enable static-libs static) \ + $(use_with gcrypt) \ + $(use_with gnutls) \ + $(use_with nss nspr) \ + $(use_with nss) \ + $(use_with openssl) \ + --enable-mans \ + --enable-pkgconfig +} + +src_test() { + SHELL=${BASH} emake TMPFOLDER="${T}" check +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} |