void-packages/srcpkgs/pcsclite/template

40 lines
1.1 KiB
Bash

# Template file for 'pcsclite'
pkgname=pcsclite
version=1.8.26
revision=1
wrksrc="pcsc-lite-upstream-${version}"
build_style=gnu-configure
configure_args="--enable-libudev --disable-libsystemd"
hostmakedepends="intltool pkg-config python3"
makedepends="eudev-libudev-devel libusb-devel python3-devel"
depends="python3"
short_desc="Middleware to access a smart card using SCard API (PC/SC)"
maintainer="Orphaned <orphan@voidlinux.org>"
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=1c0ca348744c4c5fe6d58d16a3d61e040542d1a419ffd2d532c741568ce0aa75
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.*"
}
}