diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2018-01-16 21:11:13 +0200 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2018-01-16 21:11:13 +0200 |
commit | 556cd36aebfcb63926080f6dd53ecc586ffb4a77 (patch) | |
tree | 01d8a2a08a7e0c52e2eb1966a52df7b21887348e /dev-libs/xmlsec | |
parent | dev-libs/libtasn1: version bump (diff) | |
download | gentoo-556cd36aebfcb63926080f6dd53ecc586ffb4a77.tar.gz gentoo-556cd36aebfcb63926080f6dd53ecc586ffb4a77.tar.bz2 gentoo-556cd36aebfcb63926080f6dd53ecc586ffb4a77.zip |
dev-libs/xmlsec: version bump
Closes: https://bugs.gentoo.org/644730
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-libs/xmlsec')
-rw-r--r-- | dev-libs/xmlsec/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/xmlsec/xmlsec-1.2.25.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-libs/xmlsec/Manifest b/dev-libs/xmlsec/Manifest index a0a7b25eaf86..2073618469be 100644 --- a/dev-libs/xmlsec/Manifest +++ b/dev-libs/xmlsec/Manifest @@ -1 +1,2 @@ DIST xmlsec1-1.2.24.tar.gz 1835762 BLAKE2B 78a2e1c7a324596ef34e111cba62ffcc26ad78d25823820b03753ec6449d44bfea792abbf3168728f2a117af0982a999bad918db72d1cac70a38e6e894852284 SHA512 a01feb9af8f85e77f2c5d2d7f596fba3ef58bc593cb9a7c3e883deb38f8292598ba5aa09fa59897fe303f10336a10b0bb0f27171f2b6e6251e694f37f0b9b7d4 +DIST xmlsec1-1.2.25.tar.gz 1839160 BLAKE2B af480affa84c47c5656889c8114f147e1d9a5ad0f9a494c8913fd180aa5e2cba4773451c4a5f41781026e7617cccf329057182fc3fc3f2bd4e6f007cbe8ac190 SHA512 ac61547a1cbf9016d7f75be3dc5249d6bc8a526bc51715e53ede13f056c1c72c57433a6be200c886000a25826c3e473954ded3ae988f25d37ac4ef4d777c66a6 diff --git a/dev-libs/xmlsec/xmlsec-1.2.25.ebuild b/dev-libs/xmlsec/xmlsec-1.2.25.ebuild new file mode 100644 index 000000000000..709111f8a1b9 --- /dev/null +++ b/dev-libs/xmlsec/xmlsec-1.2.25.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools ltprune + +DESCRIPTION="Command line tool for signing, verifying, encrypting and decrypting XML" +HOMEPAGE="http://www.aleksey.com/xmlsec" +SRC_URI="http://www.aleksey.com/xmlsec/download/${PN}1-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc gcrypt gnutls libressl nss +openssl static-libs" +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? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${PN}1-${PV}" + +src_prepare() { + default + # conditionally install extra documentation + if ! use doc ; then + sed -i '/^SUBDIRS/s/docs//' Makefile.am || die + eautoreconf + fi +} + +src_configure() { + econf \ + --enable-pkgconfig \ + --with-html-dir=/usr/share/doc/${PF}/html \ + $(use_enable static-libs static) \ + $(use_with gcrypt gcrypt "") \ + $(use_with gnutls gnutls "") \ + $(use_with nss nspr "") \ + $(use_with nss nss "") \ + $(use_with openssl openssl "") \ + $(use_enable openssl aes) +} + +src_test() { + emake TMPFOLDER="${T}" check +} + +src_install() { + default + prune_libtool_files --all +} |