void-packages/srcpkgs/batman-adv/template

25 lines
856 B
Bash
Raw Normal View History

2015-01-28 00:07:56 +00:00
# Template file for 'batman-adv14'
pkgname=batman-adv
2015-05-11 19:17:34 +00:00
version=2015.0
revision=1
2015-01-28 00:07:56 +00:00
short_desc="B.A.T.M.A.N. routing protocol kernel module"
maintainer="Enno Boland <gottox@voidlinux.eu>"
2015-01-28 00:07:56 +00:00
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"
2015-05-11 19:17:34 +00:00
checksum=03dea8ca04aba2f7c86a8515a9de1aaf5b6df8b0f7fe7b548cc0bdb38b56952b
2015-01-28 00:07:56 +00:00
triggers="dkms"
dkms_modules="batman-adv ${version}"
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}
}