# Template file for 'alfred'
pkgname=alfred
version=2015.1
revision=1
build_style=gnu-makefile
short_desc="Daemon for distributing arbitrary information over a batman mesh"
maintainer="Enno Boland <eb@s01.de>"
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=e2464175174beeb582564a3487346d6cf5d4de28a23ac04c2ff249099ba2b487
hostmakedepends="pkg-config"
makedepends="libcap-devel"
make_build_args="CONFIG_ALFRED_GPSD=n"
make_install_args="CONFIG_ALFRED_GPSD=n SBINDIR=/usr/bin"
depends="batman-adv"

post_install() {
	vsv alfred
	vsv batadv-vis
}
