void-packages/srcpkgs/opensc/template
maxice8 579d104d9f opensc: update to 0.19.0.
* CVE-2018-16391
    * CVE-2018-16392
    * CVE-2018-16393
    * CVE-2018-16418
    * CVE-2018-16419
    * CVE-2018-16420
    * CVE-2018-16421
    * CVE-2018-16422
    * CVE-2018-16423
    * CVE-2018-16424
    * CVE-2018-16425
    * CVE-2018-16426
    * CVE-2018-16427
2018-09-22 14:15:24 -03:00

39 lines
1.1 KiB
Bash

# Template file for 'opensc'
pkgname=opensc
version=0.19.0
revision=1
wrksrc="OpenSC-${version}"
build_style=gnu-configure
configure_args="--enable-man --enable-sm --enable-static=no --enable-doc
--with-xsl-stylesheetsdir=/usr/share/xsl/docbook"
hostmakedepends="automake docbook-xsl libtool libxslt pkg-config"
makedepends="libressl-devel pcsclite-devel readline-devel zlib-devel"
short_desc="Tools and libraries for smart cards"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="https://github.com/OpenSC/OpenSC/wiki"
distfiles="https://github.com/OpenSC/OpenSC/archive/${version}.tar.gz"
checksum=c0b803ba36aac9b5fef7f249adb9dffaf3f298db85304531b6a0574519743cf2
conf_files="/etc/opensc.conf"
pre_configure() {
autoreconf -fi
}
opensc-pkcs11_package() {
short_desc+=" - pkcs11 library"
pkg_install() {
vmove usr/lib/pkcs11
vmove "usr/lib/opensc-pkcs11*"
vmove usr/lib/pkcs11-spy.so
}
}
libopensc_package() {
short_desc+=" - library files"
depends="libpcsclite" # dlopen()
pkg_install() {
vmove "usr/lib/libopensc.so*"
vmove "usr/lib/libsmm-local.so*"
}
}