python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / fwup / template
blobb5300682a2e9b86ce5856fcd0a6738b38e2e0894
1 # Template file for 'fwup'
2 pkgname=fwup
3 version=1.2.0
4 revision=1
5 build_style=gnu-configure
6 hostmakedepends="automake libtool pkg-config"
7 makedepends="libarchive-devel libsodium-devel confuse-devel"
8 checkdepends="mtools unzip zip dosfstools"
9 short_desc="Configurable embedded Linux firmware update creator and runner"
10 maintainer="Duncaen <duncaen@voidlinux.eu>"
11 license="Apache-2.0"
12 #changelog="https://raw.githubusercontent.com/fhunleth/fwup/master/CHANGELOG.md"
13 homepage="https://github.com/fhunleth/fwup"
14 distfiles="https://github.com/fhunleth/fwup/archive/v${version}.tar.gz"
15 checksum=e20b22b01e921102e61daea2e5fafd80ce2c5ee868e19f756dccf33f2a6bd61a
17 if [ -z "$CROSS_BUILD" ]; then
18         hostmakedepends+=" help2man"
21 pre_configure() {
22         NOCONFIGURE=1 autoreconf -fi
25 pre_check() {
26         # mtools.conf requires manual configuration for usage, but not for out tests
27         # so we just remove the unrecognized keyword
28         sed -i '/SAMPLE FILE/d' /etc/mtools.conf