summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2013-12-30 18:07:33 +0100
committerAvatar Heiko Becker <heirecka@exherbo.org> 2017-08-26 13:51:23 +0200
commit2c9901051f379e6bc5d37bf030639e8984190dd5 (patch)
treeacd9db3ad193099229fbfdc59e684ca4b032d022
parent635883192155d98ee463b63355a275c6d8e8c882 (diff)
downloadoffice-2c9901051f379e6bc5d37bf030639e8984190dd5.tar.gz
office-2c9901051f379e6bc5d37bf030639e8984190dd5.tar.xz
xmlsec: initial exheres for 1.2.19
-rw-r--r--packages/dev-libs/xmlsec/xmlsec-1.2.19.exheres-07
-rw-r--r--packages/dev-libs/xmlsec/xmlsec.exlib72
2 files changed, 79 insertions, 0 deletions
diff --git a/packages/dev-libs/xmlsec/xmlsec-1.2.19.exheres-0 b/packages/dev-libs/xmlsec/xmlsec-1.2.19.exheres-0
new file mode 100644
index 0000000..8c8dd29
--- /dev/null
+++ b/packages/dev-libs/xmlsec/xmlsec-1.2.19.exheres-0
@@ -0,0 +1,7 @@
+# Copyright 2013 Heiko Becker <heirecka@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require xmlsec
+
+PLATFORMS="~amd64"
+
diff --git a/packages/dev-libs/xmlsec/xmlsec.exlib b/packages/dev-libs/xmlsec/xmlsec.exlib
new file mode 100644
index 0000000..8802353
--- /dev/null
+++ b/packages/dev-libs/xmlsec/xmlsec.exlib
@@ -0,0 +1,72 @@
+# Copyright 2013 Heiko Becker <heirecka@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.13 ] ]
+
+MYPNV=${PN}1-${PV}
+
+SUMMARY="Library and tools supporting XML Digital Signature and XML Encryption"
+DESCRIPTION="
+It is based on LibXML/LibXSLT and can use practicaly any crypto library
+(currently there is \"out of the box\" support for OpenSSL, MSCrypto, GnuTLS,
+GCrypt and NSS)."
+
+HOMEPAGE="http://www.aleksey.com/xmlsec/"
+DOWNLOADS="${HOMEPAGE}download/${MYPNV}.tar.gz"
+
+REMOTE_IDS="freecode:xmlsec"
+UPSTREAM_RELEASE_NOTES="${HOMEPAGE}news.html"
+UPSTREAM_DOCUMENTATION="http://www.aleksey.com/xmlsec/documentation.html"
+
+LICENCES="MIT nss? ( MPL-1.1 )"
+SLOT="0"
+
+MYOPTIONS="debug doc
+ gcrypt [[ description = [ Build xmlsec-gcrypt library module ] ]]
+ gnutls [[ description = [ Build xmlsec-gnutls library module ] ]]
+ nss [[ description = [ Build xmlsec-nss library module ] ]]
+ openssl [[ description = [ Build xmlsec-openssl library module ] ]]
+
+ gnutls [[ requires = [ gcrypt ] ]]
+ ( gcrypt gnutls nss openssl ) [[ number-selected = at-least-one ]]
+"
+
+DEPENDENCIES="
+ build:
+ virtual/pkg-config[>=0.9]
+ doc? ( sys-apps/help2man )
+ build+run:
+ dev-libs/libxml2:2.0[>=2.7.4]
+ dev-libs/libxslt[>=1.0.20]
+ gcrypt? ( dev-libs/libgcrypt[>=1.4.0] )
+ gnutls? ( dev-libs/gnutls[>=2.8.0] )
+ nss? (
+ dev-libs/nss[>=3.9]
+ dev-libs/nspr[>=4.4.1]
+ )
+ openssl? ( dev-libs/openssl[>=0.9.6] )
+"
+
+WORK=${WORKBASE}/${MYPNV}
+
+DEFAULT_SRC_CONFIGURE_PARAMS=(
+ --disable-static
+ --disable-static-linking
+ --with-html-dir=/usr/share/doc/${PNVR}
+)
+DEFAULT_SRC_CONFIGURE_OPTIONS=(
+ 'gcrypt --with-gcrypt= --without-gcrypt'
+ 'gnutls --with-gnutls= --without-gnutls'
+ 'nss --with-nss= --without-nss'
+ 'nss --with-nspr= --without-nspr'
+ 'openssl --with-openssl= --without-openssl'
+)
+DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( debug )
+
+src_prepare() {
+ if option !doc ; then
+ edo sed -e '/^SUBDIRS/s/docs//' -i Makefile.am
+ eautoreconf
+ fi
+}
+