void-packages/srcpkgs/eid-mw/template
2021-06-14 08:26:56 -03:00

35 lines
1,004 B
Bash

# Template file for 'eid-mw'
pkgname=eid-mw
version=5.0.23
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config automake gettext gettext-devel libtool glib-devel
gdk-pixbuf-devel libassuan-devel autoconf-archive"
makedepends="gtk+3-devel libcurl-devel openssl-devel libproxy-devel
pcsclite-devel libassuan-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=ea33f974ac203414cffb1e65378407e5e17f4cfafc10191727d1e2fcae6735f6
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libbsd-devel"
fi
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"
}
}