void-packages/srcpkgs/pcsclite/template
2016-12-09 14:07:43 +00:00

37 lines
1 KiB
Bash

# Template file for 'pcsclite'
pkgname=pcsclite
version=1.8.19
revision=1
wrksrc="pcsc-lite-${version}"
build_style=gnu-configure
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://alioth.debian.org/projects/pcsclite"
license="2-clause-BSD"
short_desc="Middleware to access a smart card using SCard API (PC/SC)"
configure_args="--enable-libudev --sbindir=/usr/bin"
hostmakedepends="intltool pkg-config python"
makedepends="eudev-libudev-devel libusb-devel python-devel"
depends="python"
distfiles="https://alioth.debian.org/frs/download.php/file/4198/pcsc-lite-${version}.tar.bz2"
checksum=b65e25ec6dd1328983b424ce1a649e2993b1c4c59fc87252689b5fa7037c4340
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.*"
}
}