25 lines
817 B
Bash
25 lines
817 B
Bash
# Template file for 'libcacard'
|
|
pkgname=libcacard
|
|
version=2.6.1
|
|
revision=2
|
|
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://cgit.freedesktop.org/spice/libcacard/"
|
|
distfiles="https://www.spice-space.org/download/libcacard/libcacard-${version}.tar.xz"
|
|
checksum=6276c6a2bd018bf14f1b97260fff093b4a2325a9177be4fc6be7c1a9e204def0
|
|
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"
|
|
}
|
|
}
|