20 lines
686 B
Bash
20 lines
686 B
Bash
# Template file for 'batman-adv'
|
|
pkgname=batman-adv
|
|
version=2019.2
|
|
revision=1
|
|
short_desc="B.A.T.M.A.N. routing protocol kernel module"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-2.0-or-later, MIT"
|
|
homepage="https://www.open-mesh.org/"
|
|
distfiles="http://downloads.open-mesh.org/batman/releases/batman-adv-${version}/batman-adv-${version}.tar.gz"
|
|
checksum=70c3f6a6cf88d2b25681a76768a52ed92d9fe992ba8e358368b6a8088757adc8
|
|
|
|
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}
|
|
vlicense LICENSES/preferred/MIT
|
|
}
|