38 lines
1019 B
Bash
38 lines
1019 B
Bash
# Template file for 'pcsclite'
|
|
pkgname=pcsclite
|
|
version=1.8.15
|
|
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="libudev-devel libusb-devel python-devel"
|
|
depends="python"
|
|
distfiles="https://alioth.debian.org/frs/download.php/file/4157/pcsc-lite-${version}.tar.bz2"
|
|
checksum=ad8b1f3d2c59d3a966cb203fc74588629c4a5fa30f8ad9005e06ef7aa445d341
|
|
|
|
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.*"
|
|
}
|
|
}
|