void-packages/srcpkgs/batctl/template
2015-06-02 16:52:46 +02:00

19 lines
571 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 <eb@s01.de>"
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
}