void-packages/srcpkgs/alfred/template

23 lines
745 B
Bash

# Template file for 'alfred'
pkgname=alfred
version=2016.3
revision=1
build_style=gnu-makefile
short_desc="Daemon for distributing arbitrary information over a batman mesh"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2, ISC"
homepage="http://www.open-mesh.org/projects/open-mesh/wiki/Alfred"
distfiles="http://downloads.open-mesh.org/batman/stable/sources/alfred/alfred-${version}.tar.gz"
checksum=3424f30f1ff368ac762d144c1862ffc61f2d27052c89bc232a5067084eb12229
hostmakedepends="pkg-config"
makedepends="libcap-devel libnl3-devel"
make_build_args="CONFIG_ALFRED_GPSD=n"
make_install_args="CONFIG_ALFRED_GPSD=n SBINDIR=/usr/bin"
depends="batman-adv"
CFLAGS="-I/usr/include/libnl3"
post_install() {
vsv alfred
vsv batadv-vis
}