26 lines
894 B
Bash
26 lines
894 B
Bash
# Template file for 'fwup'
|
|
pkgname=fwup
|
|
version=1.10.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libarchive-devel confuse-devel"
|
|
checkdepends="mtools unzip zip dosfstools xdelta3"
|
|
short_desc="Configurable embedded Linux firmware update creator and runner"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/fwup-home/fwup"
|
|
changelog="https://github.com/fwup-home/fwup/raw/main/CHANGELOG.md"
|
|
distfiles="https://github.com/fwup-home/fwup/releases/download/v${version}/fwup-${version}.tar.gz"
|
|
checksum=021c51fdd3b759dfd48b4e415c00f6c6cb697f2ba3224833dff814d5b6e71dff
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" help2man"
|
|
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
|
|
}
|