void-packages/srcpkgs/softhsm/template

28 lines
776 B
Bash

# Template file for 'softhsm'
pkgname=softhsm
version=2.6.1
revision=1
build_style=gnu-configure
configure_args="
--with-crypto-backend=botan
--with-objectstore-backend-db
p11test"
hostmakedepends="pkg-config sqlite"
makedepends="botan-devel sqlite-devel p11-kit-devel"
checkdepends="libcppunit-devel"
short_desc="Cryptographic store accessible through a PKCS #11 interface"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://www.opendnssec.org/softhsm/"
distfiles="https://dist.opendnssec.org/source/softhsm-${version}.tar.gz"
checksum=61249473054bcd1811519ef9a989a880a7bdcc36d317c9c25457fc614df475f2
make_check=no # hangs
conf_files="/etc/softhsm2.conf"
post_install() {
vlicense LICENSE
rm "${DESTDIR}/etc/softhsm2.conf.sample"
}