2014-05-15 17:15:11 +00:00
|
|
|
# Template file for 'pcsclite'
|
|
|
|
pkgname=pcsclite
|
2014-11-28 11:57:35 +00:00
|
|
|
version=1.8.13
|
|
|
|
revision=1
|
2014-05-15 17:15:11 +00:00
|
|
|
build_style=gnu-configure
|
2014-10-27 17:05:31 +00:00
|
|
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
2014-05-15 17:15:11 +00:00
|
|
|
homepage="https://alioth.debian.org/projects/pcsclite"
|
2014-05-15 19:26:28 +00:00
|
|
|
license="Modified BSD"
|
2014-05-17 09:06:30 +00:00
|
|
|
short_desc="Middleware to access a smart card using SCard API (PC/SC)"
|
2014-10-13 15:19:14 +00:00
|
|
|
configure_args="--enable-libudev"
|
2014-05-17 09:06:30 +00:00
|
|
|
hostmakedepends="intltool pkg-config python"
|
2014-09-11 16:42:17 +00:00
|
|
|
makedepends="libudev-devel libusb-devel python-devel"
|
2014-05-15 17:15:11 +00:00
|
|
|
depends="python"
|
2014-11-28 11:57:35 +00:00
|
|
|
distfiles="https://alioth.debian.org/frs/download.php/file/4126/pcsc-lite-${version}.tar.bz2"
|
|
|
|
checksum="f315047e808d63a3262c4a040f77548af2e04d1fd707e0c2759369b926fbbc3b"
|
2014-05-15 17:15:11 +00:00
|
|
|
wrksrc="pcsc-lite-${version}"
|
2014-05-15 19:26:28 +00:00
|
|
|
conf_files="/etc/reader.conf"
|
2014-10-13 15:19:14 +00:00
|
|
|
replaces="runit-void<20141013_2"
|
2014-11-21 00:50:25 +00:00
|
|
|
update_site="https://alioth.debian.org/frs/?group_id=30105"
|
|
|
|
update_pkgname="pcsc-lite"
|
2014-10-13 15:19:14 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vsv pcscd
|
|
|
|
}
|
2014-05-15 17:15:11 +00:00
|
|
|
|
|
|
|
pcsclite-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="libpcsclite>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
2014-05-15 19:26:28 +00:00
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.la"
|
2014-05-15 17:15:11 +00: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:
|