vp-build/srcpkgs/alfred/template

25 lines
800 B
Bash

# Template file for 'alfred'
pkgname=alfred
version=2018.4
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"
makedepends="libcap-devel libnl3-devel"
depends="batman-adv"
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=8d6595201d5d21b4e3824d408dc9ed705789af1d8831692efa8ffe69a3e1cc58
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libnl3"
post_install() {
vsv alfred
vsv batadv-vis
vlicense LICENSES/preferred/MIT
}