void-packages/srcpkgs/alfred/template
2017-12-08 10:44:31 +01:00

24 lines
782 B
Bash

# Template file for 'alfred'
pkgname=alfred
version=2017.4
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=c4ea1afa75628667693d14ee95f08c9943b9f0001b8c442c9a2974f26c75dc88
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${XBPS_CROSS_BASE}/usr/include/libnl3"
post_install() {
vsv alfred
vsv batadv-vis
vlicense LICENSE
}