mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-09 17:40:32 +00:00
xmlsec1: Make the crypto libraries a PACKAGECONFIG
Usually one doesn't need variants for all 4 different crypto libraries installed at the same time. Also remove a libgpg-error DEPENDS that is not used directly by xmlsec1. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
9e163f6b99
commit
73bc1f132e
@@ -5,7 +5,7 @@ DESCRIPTION = "\
|
|||||||
XML security standards "XML Digital Signature" and "XML Encryption". \
|
XML security standards "XML Digital Signature" and "XML Encryption". \
|
||||||
"
|
"
|
||||||
HOMEPAGE = "http://www.aleksey.com/xmlsec/"
|
HOMEPAGE = "http://www.aleksey.com/xmlsec/"
|
||||||
DEPENDS = "libtool libxml2 libxslt openssl zlib libgcrypt gnutls nss nspr libgpg-error"
|
DEPENDS = "libtool libxml2 libxslt zlib"
|
||||||
|
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=352791d62092ea8104f085042de7f4d0"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=352791d62092ea8104f085042de7f4d0"
|
||||||
@@ -28,9 +28,11 @@ inherit autotools-brokensep ptest pkgconfig
|
|||||||
CFLAGS += "-I${STAGING_INCDIR}/nspr4 -I${STAGING_INCDIR}/nss3"
|
CFLAGS += "-I${STAGING_INCDIR}/nspr4 -I${STAGING_INCDIR}/nss3"
|
||||||
CPPFLAGS += "-I${STAGING_INCDIR}/nspr4 -I${STAGING_INCDIR}/nss3"
|
CPPFLAGS += "-I${STAGING_INCDIR}/nspr4 -I${STAGING_INCDIR}/nss3"
|
||||||
|
|
||||||
EXTRA_OECONF = "\
|
PACKAGECONFIG ??= "gnutls libgcrypt nss openssl"
|
||||||
--with-nss=${STAGING_LIBDIR}/../.. --with-nspr=${STAGING_LIBDIR}/../.. \
|
PACKAGECONFIG[gnutls] = ",,gnutls"
|
||||||
"
|
PACKAGECONFIG[libgcrypt] = ",,libgcrypt"
|
||||||
|
PACKAGECONFIG[nss] = "--with-nss=${STAGING_LIBDIR}/../.. --with-nspr=${STAGING_LIBDIR}/../..,,nss nspr"
|
||||||
|
PACKAGECONFIG[openssl] = ",,openssl"
|
||||||
|
|
||||||
# these can be dynamically loaded with xmlSecCryptoDLLoadLibrary()
|
# these can be dynamically loaded with xmlSecCryptoDLLoadLibrary()
|
||||||
FILES_SOLIBSDEV = "${libdir}/libxmlsec1.so"
|
FILES_SOLIBSDEV = "${libdir}/libxmlsec1.so"
|
||||||
|
|||||||
Reference in New Issue
Block a user