22 lines
628 B
Bash
22 lines
628 B
Bash
# Template file for 'batctl'
|
|
pkgname=batctl
|
|
version=2019.0
|
|
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}/batctl-${version}.tar.gz"
|
|
checksum=997721096ff396644e8d697ea7651e9d38243faf317bcea2661d4139ff58b531
|
|
|
|
do_build() {
|
|
make CC=$CC ${makejobs}
|
|
}
|
|
|
|
do_install() {
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} SBINDIR=/usr/bin install
|
|
vlicense LICENSES/preferred/MIT
|
|
}
|