fwup: update to 0.18.0. (#9300)

This commit is contained in:
maxice8 2017-11-18 14:24:49 -02:00 committed by Juan RP
parent 54b445e016
commit b4c950a78d
1 changed files with 11 additions and 2 deletions

View File

@ -1,17 +1,18 @@
# Template file for 'fwup' # Template file for 'fwup'
pkgname=fwup pkgname=fwup
version=0.17.0 version=0.18.0
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="automake libtool pkg-config" hostmakedepends="automake libtool pkg-config"
makedepends="libarchive-devel libsodium-devel confuse-devel" makedepends="libarchive-devel libsodium-devel confuse-devel"
checkdepends="mtools unzip zip dosfstools"
short_desc="Configurable embedded Linux firmware update creator and runner" short_desc="Configurable embedded Linux firmware update creator and runner"
maintainer="Duncaen <duncaen@voidlinux.eu>" maintainer="Duncaen <duncaen@voidlinux.eu>"
license="Apache-2.0" license="Apache-2.0"
#changelog="https://raw.githubusercontent.com/fhunleth/fwup/master/CHANGELOG.md" #changelog="https://raw.githubusercontent.com/fhunleth/fwup/master/CHANGELOG.md"
homepage="https://github.com/fhunleth/fwup" homepage="https://github.com/fhunleth/fwup"
distfiles="https://github.com/fhunleth/fwup/archive/v${version}.tar.gz" distfiles="https://github.com/fhunleth/fwup/archive/v${version}.tar.gz"
checksum=c3fe73da33ed5a1527361aa61f97a6cad4a937a884dd933b04407b4198fefa33 checksum=d23dd750ae0cd4be58cdf9e8d7e04ef4aa9c134cc1f9629f04a52d5158622ab9
if [ -z "$CROSS_BUILD" ]; then if [ -z "$CROSS_BUILD" ]; then
hostmakedepends+=" help2man" hostmakedepends+=" help2man"
@ -20,3 +21,11 @@ fi
pre_configure() { pre_configure() {
NOCONFIGURE=1 autoreconf -fi 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
}