void-packages/srcpkgs/batctl/template
2018-10-03 15:09:00 +02:00

20 lines
630 B
Bash

# Template file for 'batctl'
pkgname=batctl
version=2018.3
revision=1
short_desc="B.A.T.M.A.N. advanced management tool"
maintainer="Enno Boland <gottox@voidlinux.eu>"
hostmakedepends="pkg-config"
makedepends="libnl3-devel"
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=24e32d3fe8268ce0951903546e71b925b78b17acc8809ba899940f48a5e892e6
do_build() {
make CC=$CC ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} SBINDIR=/usr/bin install
vlicense LICENSES/preferred/MIT
}