summaryrefslogtreecommitdiffstats
path: root/recipes-support/softhsm/softhsm_git.bb
blob: c26903da77ff4eb8526b97ed74c81386c894391a (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
SUMMARY = "HSM emulator"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ef3f77a3507c3d91e75b9f2bdaee4210"

inherit autotools-brokensep


SRC_URI = "git://github.com/opendnssec/SoftHSMv2.git;branch=master \
	   file://0001-Cross-compilation-tweaks.patch"
SRCREV="1f7498c0c65b1b1ad5e1bdbd87e9d4b100705745"

S = "${WORKDIR}/git"

DEPENDS += " openssl"

EXTRA_OECONF = "--disable-gost --with-openssl=${STAGING_LIBDIR}/.."

do_configure() {
 unset docdir
 sh ./autogen.sh
 oe_runconf
}

FILES_${PN} = "${bindir} \
	       ${libdir}/softhsm \
	       ${sysconfdir} \
	       ${localstatedir}/lib/softhsm "