void-packages/srcpkgs/batctl/template

21 lines
632 B
Bash

# Template file for 'batctl'
pkgname=batctl
version=2018.4
revision=1
hostmakedepends="pkg-config"
makedepends="libnl3-devel"
short_desc="B.A.T.M.A.N. advanced management tool"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later, MIT"
homepage="http://www.open-mesh.net/"
distfiles="http://downloads.open-mesh.net/batman/releases/batman-adv-${version}/${pkgname}-${version}.tar.gz"
checksum=e43827a5e868b4e134e77ca04da989fde1981463166bf1b6f2053acc3edd6257
do_build() {
make CC=$CC ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} SBINDIR=/usr/bin install
vlicense LICENSES/preferred/MIT
}