void-packages/srcpkgs/batctl/template
2015-08-09 19:08:42 +02:00

19 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
}