void-packages/srcpkgs/olsrd/template

28 lines
888 B
Bash

# Template file for 'olsrd'
pkgname=olsrd
version=0.9.6.2
revision=1
build_style=gnu-makefile
conf_files="/etc/olsrd.conf"
hostmakedepends="bison flex"
makedepends="gpsd"
short_desc="Daemon for Optimized Link State Routing Protocol from olsr.org"
maintainer="Daniel A. Maierhofer <git@damadmai.at>"
license="BSD-3-Clause"
homepage="http://www.olsr.org/"
distfiles="https://github.com/OLSR/olsrd/archive/v${version}.tar.gz"
checksum=e1e2c1eb4f05fa737bc96fe49c9596984d4059f5209a7149f0a23ac54b99934e
do_install() {
vbin olsrd
vconf files/olsrd.conf.default.txt olsrd.conf
vsconf files/olsrd.conf.commotion olsrd.conf.commotion
vsconf files/olsrd.conf.default.lq olsrd.conf.default.lq
vsconf files/olsrd.conf.default.rfc olsrd.conf.default.rfc
vsconf files/olsrd.conf.funkfeuer olsrd.conf.funkfeuer
vlicense license.txt
vman files/olsrd.8.gz
vman files/olsrd.conf.5.gz
vsv olsrd
}