libcacard: update to 2.5.3

- fix -devel deps
- add -tools pkg
This commit is contained in:
Alessio Sergi 2017-03-27 16:40:41 +02:00
parent 4ebb746a1c
commit 1f248532bb
2 changed files with 11 additions and 5 deletions

1
srcpkgs/libcacard-tools Symbolic link
View file

@ -0,0 +1 @@
libcacard

View file

@ -1,24 +1,29 @@
# Template file for 'libcacard'
pkgname=libcacard
version=2.5.2
version=2.5.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="nss-devel glib-devel pcsclite-devel"
short_desc="A library to provide emulation of smart cards to a virtual card reader"
short_desc="Library to provide emulation of smart cards to a virtual card reader"
maintainer="Sir_Boops <admin@boops.me>"
homepage="https://www.spice-space.org/page/Libcacard"
license="LGPL-2.1"
distfiles="https://www.spice-space.org/download/libcacard/libcacard-${version}.tar.xz"
checksum=2e39d52346a64af3bd7ee6bff658c4dcfee05a5ab8c0cf70d225fa58d3df4ecb
checksum=243ff03c563a95faed497db7f524fcb34ccd6f388d1175ecf31c371a3188963b
libcacard-devel_package() {
depends="libcacard>=${version}_${revision}"
depends="nss-devel glib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/lib/*.la
}
}
libcacard-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
}
}