30 lines
849 B
Bash
30 lines
849 B
Bash
# Template file for 'libcacard'
|
|
pkgname=libcacard
|
|
version=2.5.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="nss-devel glib-devel pcsclite-devel"
|
|
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=243ff03c563a95faed497db7f524fcb34ccd6f388d1175ecf31c371a3188963b
|
|
|
|
libcacard-devel_package() {
|
|
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
|
|
}
|
|
}
|
|
libcacard-tools_package() {
|
|
short_desc+=" - tools"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
}
|
|
}
|