void-packages/srcpkgs/batman-adv14/template

28 lines
974 B
Plaintext
Raw Normal View History

2015-01-28 01:18:37 +01:00
# Template file for 'batman-adv14'
pkgname=batman-adv14
version=2013.4.0
revision=5
2015-01-28 01:18:37 +01:00
short_desc="B.A.T.M.A.N. routing protocol kernel module (protocol version 14)"
maintainer="Enno Boland <eb@s01.de>"
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=a9b1b7542c94cc6bf7c97b7b0d02bf071b5632a64480ae419358b9cb9cab6870
conflicts="batman-adv>=0"
wrksrc="batman-adv-$version"
2015-02-02 12:44:05 +01:00
provides="batman-adv-${version}_${revision}"
2015-01-28 01:18:37 +01:00
triggers="dkms"
2015-01-28 01:27:25 +01:00
dkms_modules="batman-adv14 ${version}"
2015-01-28 01:18:37 +01:00
depends="dkms"
do_install() {
vmkdir usr/src/${pkgname}-${version}
vcopy "*.c" usr/src/${pkgname}-${version}
vcopy "*.h" usr/src/${pkgname}-${version}
vcopy "Makefile" usr/src/${pkgname}-${version}
vcopy "Makefile.kbuild" usr/src/${pkgname}-${version}
vcopy "gen-compat-autoconf.sh" usr/src/${pkgname}-${version}
vcopy ${FILESDIR}/dkms.conf usr/src/${pkgname}-${version}
}