summaryrefslogtreecommitdiffstats
path: root/meta-agl/recipes-core/xmlsec1/xmlsec1_1.2.20.bb
blob: 7faf7bfd4f2ef4cca9c9470653b787b5138a0e90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
inherit autotools pkgconfig

SUMMARY = "Library providing support for "XML Signature" and "XML Encryption" standards"
DESCRIPTION = "XML Security Library is a C library based on LibXML2  and OpenSSL. \ 
The library was created with a goal to support major XML security \
standards "XML Digital Signature" and "XML Encryption". \
"

HOMEPAGE = "https://www.aleksey.com/xmlsec"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://Copyright;md5=32e47e213c77c55d2c666351d7ce16b5"

SRC_URI = "git://git.gnome.org/xmlsec;branch=master;protocol=git"
SRCREV = "84c8281cf927b1cdcc38f343f61c3aa448a5a10f"

SECTION = "base"

S = "${WORKDIR}/git"

RDEPENDS_${PN} = "openssl libxml2"

# choice is made to use openssl only and to not use xslt
# nss would be a valuable choice
EXTRA_OECONF = "\
	--disable-crypto-dl \
	--disable-apps-crypto-dl \
	--enable-shared \
	--disable-static \
	--without-gnutls \
	--without-gcrypt \
	--without-nss \
	--without-libxslt \
"

do_install_append() {
	# discarding this optional file is good for AGL
	rm ${D}${libdir}/xmlsec1Conf.sh
}