void-packages/srcpkgs/eid-mw/template

30 lines
878 B
Bash

# Template file for 'eid-mw'
pkgname=eid-mw
version=4.4.16
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config automake gettext gettext-devel libtool glib-devel
gdk-pixbuf-devel"
makedepends="gtk+3-devel libcurl-devel libressl-devel libproxy-devel pcsclite-devel"
depends="pcsc-acsccid pcsc-ccid pcsc-tools"
short_desc="Middleware for Belgian eID"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="LGPL-3.0-or-later"
homepage="https://eid.belgium.be/en"
distfiles="https://github.com/Fedict/eid-mw/archive/v${version}.tar.gz"
checksum=bed50b2d3161767ef73cb23d5ce63d5039eebfcc7ae3a6045a22dd3ee07b0357
pre_configure() {
autoreconf -fi
}
eid-mw-devel_package() {
depends="eid-mw-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}