alfred: add sv service and config file; Depends on batman-adv

This commit is contained in:
Enno Boland 2015-02-02 12:39:28 +01:00
parent 24ed9d53c3
commit 731aa9b100

View file

@ -1,9 +1,8 @@
# Template file for 'alfred' # Template file for 'alfred'
pkgname=alfred pkgname=alfred
version=2014.4.0 version=2014.4.0
revision=1 revision=2
build_style=gnu-makefile build_style=gnu-makefile
hostmakedepends="pkg-config"
short_desc="Daemon for distributing arbitrary information over a batman mesh" short_desc="Daemon for distributing arbitrary information over a batman mesh"
maintainer="Enno Boland <eb@s01.de>" maintainer="Enno Boland <eb@s01.de>"
license="GPL-2, ISC" license="GPL-2, ISC"
@ -12,3 +11,10 @@ distfiles="http://downloads.open-mesh.org/batman/stable/sources/alfred/alfred-${
checksum=99e6c64e7069b0b7cb861369d5c198bfc7d74d41509b8edd8a17ba78e7c8d034 checksum=99e6c64e7069b0b7cb861369d5c198bfc7d74d41509b8edd8a17ba78e7c8d034
make_build_args="CONFIG_ALFRED_GPSD=n" make_build_args="CONFIG_ALFRED_GPSD=n"
make_install_args="CONFIG_ALFRED_GPSD=n" make_install_args="CONFIG_ALFRED_GPSD=n"
conf_files="/etc/conf.d/alfred"
depends="batman-adv"
post_install() {
vsv alfred
vinstall $FILESDIR/conf_alfred 644 etc/conf.d alfred
}