New package: olsrd-0.9.6.2

This commit is contained in:
Daniel A. Maierhofer 2018-10-02 08:04:54 +00:00 committed by cr6git
parent f914ff69a5
commit 62d176a848
2 changed files with 29 additions and 0 deletions

2
srcpkgs/olsrd/files/olsrd/run Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec olsrd -nofork -f /etc/olsrd.conf

27
srcpkgs/olsrd/template Normal file
View File

@ -0,0 +1,27 @@
# 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
}