void-packages/srcpkgs/eid-mw/template

31 lines
939 B
Bash

# Template file for 'eid-mw'
pkgname=eid-mw
version=4.4.2
revision=1
wrksrc="${pkgname}-${version}-v${version}"
build_style=gnu-configure
hostmakedepends="pkg-config"
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://dist.eid.belgium.be/continuous/sources/${pkgname}-${version}-v${version}.tar.gz"
checksum=b5bcfe8ec965ffb37fdcdb7763ed51497738262a5814260cd6b5e8411d1a501d
pre_configure() {
sed -i "s%c_rehash%openssl rehash%g" plugins_tools/eid-viewer/Makefile.in
}
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"
}
}