2014-05-15 19:15:11 +02:00
|
|
|
# Template file for 'pcsclite'
|
|
|
|
pkgname=pcsclite
|
|
|
|
version=1.8.11
|
2014-10-13 17:19:14 +02:00
|
|
|
revision=7
|
2014-05-15 19:15:11 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
|
|
|
homepage="https://alioth.debian.org/projects/pcsclite"
|
2014-05-15 21:26:28 +02:00
|
|
|
license="Modified BSD"
|
2014-05-17 11:06:30 +02:00
|
|
|
short_desc="Middleware to access a smart card using SCard API (PC/SC)"
|
2014-10-13 17:19:14 +02:00
|
|
|
configure_args="--enable-libudev"
|
2014-05-17 11:06:30 +02:00
|
|
|
hostmakedepends="intltool pkg-config python"
|
2014-09-11 18:42:17 +02:00
|
|
|
makedepends="libudev-devel libusb-devel python-devel"
|
2014-05-15 19:15:11 +02:00
|
|
|
depends="python"
|
|
|
|
distfiles="https://alioth.debian.org/frs/download.php/file/3991/${pkgname}-${version}.tar.bz2"
|
|
|
|
checksum="945041c94c53959ae5a767616a4ec5099fe67f549bfd344e8bd0cfe7a3c71ac6"
|
|
|
|
wrksrc="pcsc-lite-${version}"
|
2014-05-15 21:26:28 +02:00
|
|
|
conf_files="/etc/reader.conf"
|
2014-10-13 17:19:14 +02:00
|
|
|
replaces="runit-void<20141013_2"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vsv pcscd
|
|
|
|
}
|
2014-05-15 19:15:11 +02:00
|
|
|
|
|
|
|
pcsclite-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="libpcsclite>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
2014-05-15 21:26:28 +02:00
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.la"
|
2014-05-15 19:15:11 +02:00
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
libpcsclite_package() {
|
|
|
|
short_desc+=" - library files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so.*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim: set ts=4 sw=4 sts=4 et:
|