void-packages/srcpkgs/eid-mw/template

31 lines
940 B
Bash

# Template file for 'eid-mw'
pkgname=eid-mw
version=4.4.13
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=80495f6803f81feae10279de0f87eb4dbd873a5fba18aa2ab820ec2f83d6ff2e
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"
}
}