void-packages/srcpkgs/batctl/template
2016-11-19 10:21:43 +01:00

19 lines
581 B
Bash

# Template file for 'batctl'
pkgname=batctl
version=2016.4
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"
homepage="http://www.open-mesh.net/"
distfiles="http://downloads.open-mesh.net/batman/releases/batman-adv-${version}/${pkgname}-${version}.tar.gz"
checksum=2472d0eb63e8c523cc8ceee4d104006808c76c78fb61a3afd43009c9a71276f9
do_build() {
make CC=$CC ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} SBINDIR=/usr/bin install
}