# XML Security Library
# https://www.aleksey.com/xmlsec/

[buildout]
extends =
  ../libxml2/buildout.cfg
  ../libxslt/buildout.cfg
  ../openssl/buildout.cfg
  ../pkgconfig/buildout.cfg

[xmlsec]
recipe = slapos.recipe.cmmi
url = https://github.com/lsh123/xmlsec/releases/download/xmlsec-1_2_37/xmlsec1-1.2.37.tar.gz
md5sum = 98dd3c884e2816c25c038a6e8af138fb
shared = true
configure-options =
  --disable-crypto-dl
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${libxml2:location}/lib/pkgconfig:${libxslt:location}/lib/pkgconfig:${openssl:location}/lib/pkgconfig
  LDFLAGS=-Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${zlib:location}/lib

[xmlsec:python2]
# Newer versions are not compatible with python2 version of python-xmlsec
url = https://www.aleksey.com/xmlsec/download/older-releases/xmlsec1-1.2.30.tar.gz
md5sum = b66ec21e0a0ac331afb4b1bc5c9ef966
