void-packages/srcpkgs/libcacard/template

25 lines
814 B
Bash

# Template file for 'libcacard'
pkgname=libcacard
version=2.6.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="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://www.spice-space.org/page/Libcacard"
distfiles="https://www.spice-space.org/download/libcacard/libcacard-${version}.tar.xz"
checksum=df79e20e5d66d87f5324a3ec5fb0664a67d8242d83098ec43e6680222f92ead2
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"
}
}