void-packages/srcpkgs/eid-mw/template
2018-11-06 15:24:56 +01:00

30 lines
939 B
Bash

# Template file for 'eid-mw'
pkgname=eid-mw
version=4.4.2
revision=2
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=cf67a0d45f41c5bf6e73f543e26ace255f4ee6d9c2e5e3403c147f8e103c07cc
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"
}
}