void-packages/srcpkgs/alfred/template
2021-05-21 15:47:14 +02:00

24 lines
807 B
Bash

# Template file for 'alfred'
pkgname=alfred
version=2021.1
revision=1
build_style=gnu-makefile
make_build_args="CONFIG_ALFRED_GPSD=n"
make_install_args="CONFIG_ALFRED_GPSD=n SBINDIR=/usr/bin"
hostmakedepends="pkg-config which"
makedepends="libcap-devel libnl3-devel"
depends="batman-adv"
short_desc="Daemon for distributing arbitrary information over a batman mesh"
maintainer="Enno Boland <gottox@voidlinux.org>"
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=94e2cf4dad885f9059fc8b8694a71eca51c9e184683bb99a79e3de8cb7485e88
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libnl3"
post_install() {
vsv alfred
vsv batadv-vis
vlicense LICENSES/preferred/MIT
}