New package: batman-adv-2014.4.0

This commit is contained in:
Enno Boland 2015-01-28 01:07:56 +01:00
parent 7c129a5fce
commit 0229b7f28b
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,9 @@
PACKAGE_VERSION=2014.4.0
PACKAGE_NAME="batman-adv"
AUTOINSTALL="yes"
MAKE="make KVER=${kernelver}"
CLEAN="make clean"
BUILT_MODULE_NAME[0]="batman-adv"
DEST_MODULE_LOCATION[0]="/updates"

View file

@ -0,0 +1,24 @@
# Template file for 'batman-adv14'
pkgname=batman-adv
version=2014.4.0
revision=1
short_desc="B.A.T.M.A.N. routing protocol kernel module"
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=757b9ddd346680f6fd87dc28fde6da0ddc0423a65fbc88fdbaa7b247fed2c1a8
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}
}