void-packages/srcpkgs/fwup/template

23 lines
693 B
Bash

# Template file for 'fwup'
pkgname=fwup
version=0.15.4
revision=2
build_style=gnu-configure
configure_args="ac_vc_func_open_memstream=yes"
hostmakedepends="automake libtool pkg-config"
makedepends="libarchive-devel libsodium-devel confuse-devel"
short_desc="Configurable embedded Linux firmware update creator and runner"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="Apache-2.0"
homepage="https://github.com/fhunleth/fwup"
distfiles="https://github.com/fhunleth/fwup/archive/v${version}.tar.gz"
checksum=852e255bd65f9db473a06184abb3e94e3b6b86be7bf66169e8df8146d5966ae1
if [ -z "$CROSS_BUILD" ]; then
hostmakedepends+=" help2man"
fi
pre_configure() {
NOCONFIGURE=1 autoreconf -fi
}