2014-05-22 15:24:18 +02:00
|
|
|
# Template file for 'opensc'
|
|
|
|
pkgname=opensc
|
2015-04-02 08:28:27 +02:00
|
|
|
version=0.15.0
|
|
|
|
revision=1
|
2014-05-22 15:24:18 +02:00
|
|
|
build_style=gnu-configure
|
2015-02-23 09:36:30 +01:00
|
|
|
configure_args="--enable-man --enable-sm --enable-static=no --enable-doc
|
|
|
|
--with-xsl-stylesheetsdir=/usr/share/xsl/docbook"
|
|
|
|
hostmakedepends="automake libtool pkg-config docbook-xsl libxslt"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="readline-devel pcsclite-devel libressl-devel zlib-devel"
|
2015-02-23 09:36:30 +01:00
|
|
|
conf_files="/etc/opensc.conf"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-05-22 15:24:18 +02:00
|
|
|
homepage="https://github.com/OpenSC/OpenSC/wiki"
|
|
|
|
license="LGPL-2.1"
|
2014-05-22 17:29:05 +02:00
|
|
|
short_desc="Tools and libraries for smart cards"
|
2014-05-22 15:24:18 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
2015-04-02 08:28:27 +02:00
|
|
|
checksum=7cfa86852f1b200cf5842bbd062ed1762fc63cb3f0155cdab191b74aa8c37b8f
|
2014-05-22 15:24:18 +02:00
|
|
|
|
2014-05-22 17:47:27 +02:00
|
|
|
pre_configure() {
|
2015-02-23 09:36:30 +01:00
|
|
|
autoreconf -fi
|
2014-05-22 17:47:27 +02:00
|
|
|
}
|
|
|
|
|
2014-05-22 15:24:18 +02:00
|
|
|
opensc-pkcs11_package() {
|
2015-02-23 09:36:30 +01:00
|
|
|
short_desc+=" - pkcs11 library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/pkcs11"
|
|
|
|
vmove "usr/lib/opensc-pkcs11*"
|
|
|
|
vmove "usr/lib/pkcs11-spy.so"
|
|
|
|
}
|
2014-05-22 15:24:18 +02:00
|
|
|
}
|
|
|
|
libopensc_package() {
|
2015-02-23 09:36:30 +01:00
|
|
|
short_desc+=" - library files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libopensc.so*"
|
|
|
|
vmove "usr/lib/libsmm-local.so*"
|
|
|
|
}
|
2014-05-22 15:24:18 +02:00
|
|
|
}
|