void-packages/srcpkgs/babeld/template

24 lines
596 B
Bash

# Template file for 'babeld'
pkgname=babeld
version=1.9.2
revision=1
wrksrc=babeld-babeld-${version}
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/"
distfiles="https://github.com/jech/babeld/archive/babeld-${version}.tar.gz"
checksum=c8c8c3698afb00caa5a5c9bbbb0a22b56d79ad3f9775382915ba979ac88c4e8f
patch_args="-Np1"
pre_build() {
echo ${version}-${revision} > version
}
do_install() {
vbin babeld
vman babeld.man babeld.8
vlicense LICENCE
}