2014-05-22 13:24:18 +00:00
|
|
|
# Template file for 'opensc'
|
|
|
|
pkgname=opensc
|
2014-07-14 16:26:12 +00:00
|
|
|
version=0.14.0
|
2015-02-23 08:36:30 +00:00
|
|
|
revision=2
|
2014-05-22 13:24:18 +00:00
|
|
|
build_style=gnu-configure
|
2015-02-23 08:36:30 +00: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"
|
|
|
|
makedepends="readline-devel pcsclite-devel libressl-devel zlib-devel"
|
|
|
|
conf_files="/etc/opensc.conf"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-05-22 13:24:18 +00:00
|
|
|
homepage="https://github.com/OpenSC/OpenSC/wiki"
|
|
|
|
license="LGPL-2.1"
|
2014-05-22 15:29:05 +00:00
|
|
|
short_desc="Tools and libraries for smart cards"
|
2014-05-22 13:24:18 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
2015-02-23 08:36:30 +00:00
|
|
|
checksum=facdca215f74d999b286ae246ada8d8fcb97ce58f0a6dd30d8b1c180101e9bf0
|
2014-05-22 13:24:18 +00:00
|
|
|
|
2014-05-22 15:47:27 +00:00
|
|
|
pre_configure() {
|
2015-02-23 08:36:30 +00:00
|
|
|
autoreconf -fi
|
2014-05-22 15:47:27 +00:00
|
|
|
}
|
|
|
|
|
2014-05-22 13:24:18 +00:00
|
|
|
opensc-pkcs11_package() {
|
2015-02-23 08:36:30 +00: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 13:24:18 +00:00
|
|
|
}
|
|
|
|
libopensc_package() {
|
2015-02-23 08:36:30 +00:00
|
|
|
short_desc+=" - library files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libopensc.so*"
|
|
|
|
vmove "usr/lib/libsmm-local.so*"
|
|
|
|
}
|
2014-05-22 13:24:18 +00:00
|
|
|
}
|