void-packages/srcpkgs/p11-kit/template
maxice8 b577ad836c p11-kit: update to 0.23.11.
Closes #14702.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-26 14:20:25 +02:00

31 lines
958 B
Bash

# Template file for 'p11-kit'
pkgname=p11-kit
version=0.23.11
revision=1
build_style=gnu-configure
configure_args="--with-module-path=/usr/lib/pkcs11 --without-trust-paths"
hostmakedepends="pkg-config"
makedepends="libtasn1-devel libffi-devel"
conf_files="/etc/pkcs11/pkcs11.conf"
short_desc="Provides a way to load and enumerate PKCS#11 modules"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD-3-Clause"
homepage="https://github.com/p11-glue/p11-kit"
distfiles="${homepage}/releases/download/${version}/p11-kit-${version}.tar.gz"
checksum=b243c8daa573f85cb9873352a4c38563812fe3045e960593eb45db7dfdea4a2b
post_install() {
mv ${DESTDIR}/etc/pkcs11/pkcs11.conf.example ${DESTDIR}/etc/pkcs11/pkcs11.conf
vlicense COPYING
}
p11-kit-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
}
}