39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'pcsclite'
|
|
pkgname=pcsclite
|
|
version=1.8.23
|
|
revision=2
|
|
wrksrc="pcsc-lite-upstream-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-libudev --disable-libsystemd"
|
|
hostmakedepends="intltool pkg-config python"
|
|
makedepends="eudev-libudev-devel libusb-devel python-devel"
|
|
depends="python"
|
|
short_desc="Middleware to access a smart card using SCard API (PC/SC)"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://salsa.debian.org/debian/pcsc-lite"
|
|
distfiles="https://salsa.debian.org/debian/pcsc-lite/-/archive/upstream/${version}/pcsc-lite-upstream-${version}.tar.gz"
|
|
checksum=a9f41ebf742b973a9a71ba86953079c20df7ae579b19cf19349733533ffc6269
|
|
|
|
post_install() {
|
|
vsv pcscd
|
|
vlicense COPYING
|
|
}
|
|
|
|
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.*"
|
|
}
|
|
}
|