28 lines
911 B
Bash
28 lines
911 B
Bash
# Template file for 'libcacard'
|
|
pkgname=libcacard
|
|
version=2.8.1
|
|
revision=1
|
|
build_style=meson
|
|
# test/meson.build gives unknown softhsm variable
|
|
configure_args="-Ddisable_tests=true"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="nss-devel libglib-devel pcsclite-devel"
|
|
short_desc="Library to provide emulation of smart cards to a virtual card reader"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://cgit.freedesktop.org/spice/libcacard/"
|
|
distfiles="https://www.spice-space.org/download/libcacard/libcacard-${version}.tar.xz"
|
|
checksum=fbbf4de8cb7db5bdff5ecb672ff0dbe6939fb9f344b900d51ba6295329a332e7
|
|
replaces="libcacard-tools>=0"
|
|
|
|
libcacard-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}
|
|
nss-devel libglib-devel pcsclite-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|