#Maintainer: George Vlahavas pkgname=ndiswrapper pkgver=1.56 pkgrel=`uname -r | sed "s/-/./g"`.2gv source=(http://downloads.sourceforge.net/project/ndiswrapper/stable/$pkgver/ndiswrapper-$pkgver.tar.gz) docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=https://sourceforge.net/apps/mediawiki/ndiswrapper/index.php?title=Main_Page doinst() { depmod -a } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "ndiswrapper (Win32 network driver API wrapper)" "Ndiswrapper provides a linux kernel module that loads and runs" "Ndis (Win32 network driver API) drivers supplied by the vendors." ) build() { cd $startdir/src/$pkgname-$pkgver unset ARCH make KVERS=`uname -r` || return 1 make install KVERS=`uname -r` DESTDIR=$startdir/pkg rm -rf $startdir/pkg/lib/modules/`uname -r`/modules.* }