void-packages/srcpkgs/batman-adv/template

21 lines
653 B
Bash

# Template file for 'batman-adv14'
pkgname=batman-adv
version=2017.1
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=ec1848023308c41710eeefb544580f5853d68b88a627a3f2dabaa3472b988c15
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}
}