void-packages/srcpkgs/batctl/template

20 lines
581 B
Bash

# Template file for 'batctl'
pkgname=batctl
version=2015.0
revision=2
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=634d91189f96bda6d4ce6179dce90ad578566f29d3111b49d6e775d4f3591f04
do_build() {
make CC=$CC ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} SBINDIR=/usr/bin install
}