void-packages/srcpkgs/batman-adv/template

21 lines
653 B
Bash

# Template file for 'batman-adv14'
pkgname=batman-adv
version=2016.4
revision=1
short_desc="B.A.T.M.A.N. routing protocol kernel module"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="http://www.open-mesh.org/"
distfiles="http://downloads.open-mesh.org/batman/releases/batman-adv-${version}/batman-adv-${version}.tar.gz"
checksum=bc1236dd83209db51a09368b7ed1dd3a1ce5f5b933e09260c4d6f107c0a150eb
triggers="dkms"
dkms_modules="batman-adv ${version}"
depends="dkms"
do_install() {
vmkdir usr/src/${pkgname}-${version}
cp -r * $DESTDIR/usr/src/${pkgname}-${version}
vcopy ${FILESDIR}/dkms.conf usr/src/${pkgname}-${version}
}