diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-27 13:39:49 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-27 13:39:49 +0000 |
commit | 595a2084ca7cab1f87ccd5d827b1c1dc880e63df (patch) | |
tree | 781613c8ef6a7093bf09fd2c71765f33e5457750 /dev-libs/xmlsec | |
parent | Delete older ebuild. (diff) | |
download | gentoo-2-595a2084ca7cab1f87ccd5d827b1c1dc880e63df.tar.gz gentoo-2-595a2084ca7cab1f87ccd5d827b1c1dc880e63df.tar.bz2 gentoo-2-595a2084ca7cab1f87ccd5d827b1c1dc880e63df.zip |
Version bump.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/xmlsec')
-rw-r--r-- | dev-libs/xmlsec/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/xmlsec/xmlsec-1.2.16.ebuild | 78 |
2 files changed, 85 insertions, 1 deletions
diff --git a/dev-libs/xmlsec/ChangeLog b/dev-libs/xmlsec/ChangeLog index 888013767ae2..3a19cb308e39 100644 --- a/dev-libs/xmlsec/ChangeLog +++ b/dev-libs/xmlsec/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/xmlsec # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/ChangeLog,v 1.20 2010/04/29 18:57:40 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/ChangeLog,v 1.21 2010/05/27 13:39:49 arfrever Exp $ + +*xmlsec-1.2.16 (27 May 2010) + + 27 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -xmlsec-1.2.15.ebuild, +xmlsec-1.2.16.ebuild, metadata.xml: + Version bump. *xmlsec-1.2.15 (29 Apr 2010) diff --git a/dev-libs/xmlsec/xmlsec-1.2.16.ebuild b/dev-libs/xmlsec/xmlsec-1.2.16.ebuild new file mode 100644 index 000000000000..ec67997608fe --- /dev/null +++ b/dev-libs/xmlsec/xmlsec-1.2.16.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/xmlsec-1.2.16.ebuild,v 1.1 2010/05/27 13:39:49 arfrever Exp $ + +EAPI="3" + +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 ~ppc ~sparc ~x86" +IUSE="gcrypt gnutls nss +openssl" + +RDEPEND=">=dev-libs/libxml2-2.7.4 + >=dev-libs/libxslt-1.0.20 + gcrypt? ( >=dev-libs/libgcrypt-1.4.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.9.7 )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S="${WORKDIR}/${PN}1-${PV}" + +# Redefine use_with() until fixed version is available in released versions of Portage. +# http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a05bba76435d94407fd25549d0552902962baf62 +use_with() { + local UW_SUFFIX=${3+=$3} + local UWORD=${2:-$1} + + if useq $1; then + echo "--with-${UWORD}${UW_SUFFIX}" + else + echo "--without-${UWORD}" + fi +} + +pkg_setup() { + if ! use gcrypt && ! use gnutls && ! use nss && ! use openssl; then + die "At least one of the following USE flags must be enabled: gcrypt gnutls nss openssl" + fi + + if use gnutls && ! use gcrypt; then + die "USE=\"gnutls\" requires USE=\"gcrypt\"" + fi +} + +#src_prepare() { +# eautoreconf +# append-cppflags '-DLTDL_OBJDIR=\".libs\"' '-DLTDL_SHLIB_EXT=\".so\"' +#} + +src_configure() { + econf \ + $(use_with gcrypt gcrypt "") \ + $(use_with gnutls gnutls "") \ + $(use_with nss nspr "") \ + $(use_with nss nss "") \ + $(use_enable openssl aes) \ + $(use_with openssl openssl "") \ + --enable-pkgconfig \ + --enable-xkms \ + --with-html-dir=/usr/share/doc/${PF} +} + +src_test() { + TMPFOLDER="${T}" emake check || die "emake check failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS README NEWS || die "dodoc failed" +} |