pkcs11-helper: add threading build option (default)

This commit is contained in:
magenbluten 2019-02-05 08:46:18 +00:00 committed by maxice8
parent 8461b00bd1
commit ffbc046ab1

View file

@ -1,18 +1,21 @@
# Template file for 'pkcs11-helper'
pkgname=pkcs11-helper
version=1.25.1
revision=2
revision=3
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
configure_args="--enable-doc --disable-static"
configure_args="--enable-doc --disable-static $(vopt_enable threading slotevent) $(vopt_enable threading)"
hostmakedepends="automake libtool pkg-config doxygen"
makedepends="libressl-devel"
short_desc="A library to help simplify interacting with PKCS#11 providers"
short_desc="Library to help simplify interacting with PKCS#11 providers"
maintainer="Aloz1 <kno0001@gmail.com>"
license="GPL-2.0-only, BSD-3-Clause"
homepage="https://github.com/OpenSC/${pkgname}/wiki"
distfiles="https://github.com/OpenSC/${pkgname}/archive/${pkgname}-${version}.tar.gz"
checksum=fbcec9dd15a71d6ef22b09f63934c66d7d0292fefbaf3a60703ee4a9a73bf6a5
build_options="threading"
build_options_default="threading"
desc_option_threading="Enable threading and slotevent support"
pre_configure() {
autoreconf -fi