void-packages/srcpkgs/libchipcard/template

25 lines
827 B
Bash

# Template file for 'libchipcard'
pkgname=libchipcard
version=5.0.4
revision=2
build_style=gnu-configure
hostmakedepends="gwenhywfar-devel pkg-config"
makedepends="gwenhywfar-devel pcsclite-devel zlib-devel"
short_desc="A library for easy access to chip cards via chipcard readers"
maintainer="Matthias Fulz <mfulz@olznet.de>"
license="LGPL-2.1-only"
homepage="http://www.libchipcard.de"
distfiles="https://www.aquamaniac.de/sites/download/download.php?package=02&release=200&file=01&dummy=${pkgname}-${version}.tar.gz"
checksum=d25a79adcf09f1058ca9168b80e843fadbd556fb0f23c890d871124ad380423a
libchipcard-devel_package() {
depends="libchipcard>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/chipcard-config
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}