void-packages/srcpkgs/libchipcard/template

24 lines
795 B
Bash

# Template file for bacula packages
pkgname="libchipcard"
version="5.0.4"
revision=1
build_style=gnu-configure
short_desc="A library for easy access to chip cards via chipcard readers"
maintainer="Matthias Fulz <mfulz@olznet.de>"
license="GPL-2"
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"
hostmakedepends="gwenhywfar-devel pkg-config"
makedepends="gwenhywfar-devel pcsclite-devel zlib-devel"
libchipcard-devel_package() {
depends="libchipcard>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}