39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'pcsclite'
|
|
pkgname=pcsclite
|
|
version=2.3.0
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dlibudev=true -Dlibsystemd=false -Dpolkit=false"
|
|
hostmakedepends="pkg-config python3 flex perl"
|
|
makedepends="eudev-libudev-devel libusb-devel python3-devel"
|
|
depends="python3"
|
|
short_desc="Middleware to access a smart card using SCard API (PC/SC)"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="BSD-2-Clause, GPL-3.0-or-later"
|
|
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=1f7d0427e1ab2f53434116031131c721e21636c482bea4d2b42f8a9b8525018d
|
|
|
|
post_install() {
|
|
vsv pcscd
|
|
vlicense COPYING
|
|
vdoc "${FILESDIR}/README.voidlinux"
|
|
}
|
|
|
|
pcsclite-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libpcsclite>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
libpcsclite_package() {
|
|
short_desc+=" - library files"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|