2014-05-22 13:24:18 +00:00
|
|
|
# Template file for 'opensc'
|
|
|
|
|
|
|
|
pkgname=opensc
|
|
|
|
version=0.13.0
|
2014-05-22 15:29:05 +00:00
|
|
|
revision=2
|
2014-05-22 13:24:18 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
|
|
|
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"
|
|
|
|
hostmakedepends="pkg-config docbook-xsl libxslt-devel"
|
|
|
|
makedepends="readline-devel pcsclite-devel openssl-devel zlib-devel"
|
|
|
|
configure_args="--enable-man --enable-sm --enable-static=no --enable-doc
|
|
|
|
--with-xsl-stylesheetsdir=${XBPS_CROSS_BASE}/usr/share/xsl/docbook"
|
2014-05-22 13:24:18 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum="abde46ae53b12b3273e40c532ffd4f7d423a51e0919a5234761453c17c089b14"
|
|
|
|
conf_files="/etc/opensc.conf"
|
|
|
|
|
|
|
|
opensc-pkcs11_package() {
|
|
|
|
short_desc+=" - pkcs11 library"
|
2014-05-22 15:29:05 +00:00
|
|
|
#depends="libopensc>=${version}"
|
2014-05-22 13:24:18 +00:00
|
|
|
pkg_install() {
|
2014-05-22 15:29:05 +00:00
|
|
|
vmove "usr/lib/pkcs11"
|
2014-05-22 13:24:18 +00:00
|
|
|
vmove "usr/lib/opensc-pkcs11*"
|
|
|
|
vmove "usr/lib/pkcs11-spy.so"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libopensc_package() {
|
|
|
|
short_desc+=" - library files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libopensc.so*"
|
2014-05-22 15:29:05 +00:00
|
|
|
vmove "usr/lib/libsmm-local.so*"
|
2014-05-22 13:24:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim: set ts=4 sw=4 sts=4 et:
|