avs_mtk_voice/meta/meta-mediatek-aud/recipes-support/softhsm/softhsm2_2.6.1.bb

29 lines
973 B
BlitzBasic

SUMMARY = "SoftHSM is part of the OpenDNSSEC project"
SECTION = "System Environment/Libraries"
LICENSE = "MIT"
#LIC_FILES_CHKSUM = "file://LICENSE;md5=ef3f77a3507c3d91e75b9f2bdaee4210"
SRC_URI = "https://github.com/opendnssec/SoftHSMv2/archive/refs/tags/2.6.1.tar.gz"
SRC_URI[md5sum] = "2f6f21d859ad08fec55c61bb4e1747c4"
SRC_URI[sha256sum] = "e3daff28b164611b1f080401d4d70edd0944f692385a7ef75eba5ce056c8c9ca"
DEPENDS = "openssl"
inherit autotools
S = "${WORKDIR}/SoftHSMv2-2.6.1"
FILES_${PN} = "/usr/lib64/softhsm/libsofthsm2* ${bindir}/softhsm2-util"
do_install_append() {
# Install Sample application to test Alexa Voice Service
install -d ${D}${bindir}
install -d ${D}${libdir}
install -m 0755 ${B}/./src/bin/util/softhsm2-util ${D}${bindir}
install -m 0755 ${B}/./src/bin/keyconv/softhsm2-keyconv ${D}${bindir}
install -m 0755 ${B}/./src/lib/.libs/libsofthsm2.so ${D}${libdir}
}
INSANE_SKIP_${PN} += "installed-vs-shipped staticdev"