void-packages/srcpkgs/fwup/template
2019-09-21 14:30:30 +02:00

29 lines
928 B
Bash

# Template file for 'fwup'
pkgname=fwup
version=1.3.2
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libarchive-devel libsodium-devel confuse-devel"
checkdepends="mtools unzip zip dosfstools"
short_desc="Configurable embedded Linux firmware update creator and runner"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="Apache-2.0"
changelog="https://github.com/fhunleth/fwup/raw/master/CHANGELOG.md"
homepage="https://github.com/fhunleth/fwup"
distfiles="https://github.com/fhunleth/fwup/archive/v${version}.tar.gz"
checksum=897580814709aabe1575d47c8d7a264f01dd6e65a62fa13f42b24416d0944c2b
if [ -z "$CROSS_BUILD" ]; then
hostmakedepends+=" help2man"
fi
pre_configure() {
autoreconf -fi
}
pre_check() {
# mtools.conf requires manual configuration for usage, but not for out tests
# so we just remove the unrecognized keyword
vsed -i '/SAMPLE FILE/d' /etc/mtools.conf
}