void-packages/srcpkgs/libcacard/template
q66 c852825efd libcacard: add missing dependency to devel
not installing it makes pkg-config fail
2020-12-13 20:31:01 +01:00

27 lines
911 B
Bash

# Template file for 'libcacard'
pkgname=libcacard
version=2.8.0
revision=2
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=8005b93c3139ff739057efb19f9dac1d0993ffb0b913111505af6a91711ef22b
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"
}
}