void-packages/srcpkgs/libcacard/template
2019-11-09 19:45:01 +01:00

24 lines
814 B
Bash

# Template file for 'libcacard'
pkgname=libcacard
version=2.7.0
revision=1
build_style=gnu-configure
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=16b1a0847d5f9d2290e0785eca40f2e49d1ed80814bfc758c05c76b3c89cdb6f
replaces="libcacard-tools>=0"
libcacard-devel_package() {
depends="nss-devel libglib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}