43 lines
1.2 KiB
Text
43 lines
1.2 KiB
Text
# Template file for 'pcsclite'
|
|
pkgname=pcsclite
|
|
version=1.8.13
|
|
revision=1
|
|
build_style=gnu-configure
|
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
|
homepage="https://alioth.debian.org/projects/pcsclite"
|
|
license="Modified BSD"
|
|
short_desc="Middleware to access a smart card using SCard API (PC/SC)"
|
|
configure_args="--enable-libudev"
|
|
hostmakedepends="intltool pkg-config python"
|
|
makedepends="libudev-devel libusb-devel python-devel"
|
|
depends="python"
|
|
distfiles="https://alioth.debian.org/frs/download.php/file/4126/pcsc-lite-${version}.tar.bz2"
|
|
checksum="f315047e808d63a3262c4a040f77548af2e04d1fd707e0c2759369b926fbbc3b"
|
|
wrksrc="pcsc-lite-${version}"
|
|
conf_files="/etc/reader.conf"
|
|
replaces="runit-void<20141013_2"
|
|
update_site="https://alioth.debian.org/frs/?group_id=30105"
|
|
update_pkgname="pcsc-lite"
|
|
|
|
post_install() {
|
|
vsv pcscd
|
|
}
|
|
|
|
pcsclite-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libpcsclite>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.la"
|
|
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:
|