30 lines
934 B
Bash
30 lines
934 B
Bash
# Template file for 'fwup'
|
|
pkgname=fwup
|
|
version=1.9.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="libarchive-devel libsodium-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"
|
|
changelog="https://github.com/fhunleth/fwup/raw/main/CHANGELOG.md"
|
|
homepage="https://github.com/fhunleth/fwup"
|
|
distfiles="https://github.com/fhunleth/fwup/archive/v${version}.tar.gz"
|
|
checksum=18ae6753145cef2fd5f5fc83e29c2d883e570668d8aa064ee6c94d4c5e44d73d
|
|
|
|
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
|
|
}
|