31 lines
965 B
Bash
31 lines
965 B
Bash
# Template file for 'fwup'
|
|
pkgname=fwup
|
|
version=0.18.0
|
|
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.eu>"
|
|
license="Apache-2.0"
|
|
#changelog="https://raw.githubusercontent.com/fhunleth/fwup/master/CHANGELOG.md"
|
|
homepage="https://github.com/fhunleth/fwup"
|
|
distfiles="https://github.com/fhunleth/fwup/archive/v${version}.tar.gz"
|
|
checksum=d23dd750ae0cd4be58cdf9e8d7e04ef4aa9c134cc1f9629f04a52d5158622ab9
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" help2man"
|
|
fi
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 autoreconf -fi
|
|
}
|
|
|
|
do_check() {
|
|
# mtools.conf requires manual configuration for usage, but not for out tests
|
|
# so we just remove the unrecognized keyword
|
|
sed -i '/SAMPLE FILE/d' /etc/mtools.conf
|
|
|
|
make check
|
|
}
|