# Template file for 'babeld'
pkgname=babeld
version=1.13.1
revision=1
build_style=gnu-makefile
short_desc="Babel loop-avoiding distance-vector routing daemon"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="MIT"
homepage="https://www.irif.fr/~jch/software/babel/"
changelog="https://raw.githubusercontent.com/jech/babeld/master/CHANGES"
distfiles="https://www.irif.fr/~jch/software/files/babeld-${version}.tar.gz"
checksum=15f24d26da0ccfc073abcdef0309f281e4684f2aa71126f826572c4c845e8dd9
conflicts="frr"

pre_build() {
	echo ${version}-${revision} > version
}

do_install() {
	vbin babeld
	vman babeld.man babeld.8
	vlicense LICENCE
}
