void-packages/srcpkgs/alfred/template
2018-10-03 15:07:12 +02:00

23 lines
799 B
Bash

# Template file for 'alfred'
pkgname=alfred
version=2018.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.0-or-later, MIT"
homepage="https://www.open-mesh.org/projects/alfred/wiki"
distfiles="https://downloads.open-mesh.org/batman/stable/sources/alfred/alfred-${version}.tar.gz"
checksum=6265b8a3e99186ecb6e0cf7dde84fe8b67c66d9fefa6286f9f12110e98f28b1a
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 LICENSES/preferred/MIT
}