void-packages/srcpkgs/pcsclite/template

38 lines
1.1 KiB
Plaintext
Raw Normal View History

# Template file for 'pcsclite'
pkgname=pcsclite
version=1.8.11
revision=6
build_style=gnu-configure
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
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/3991/${pkgname}-${version}.tar.bz2"
checksum="945041c94c53959ae5a767616a4ec5099fe67f549bfd344e8bd0cfe7a3c71ac6"
wrksrc="pcsc-lite-${version}"
conf_files="/etc/reader.conf"
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: