wok-next view ndiswrapper-driver/receipt @ rev 20251

Rethink $EXTRAVERSION: aufs, broadcom-wl, dahdi-linux, iptables, linux-cloop, ndiswrapper-driver, nvidia-173xx, nvidia-96xx, open-vm-tools-kernel, spl; typo: mygestures; fix build & v2: lucene++
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 07 14:03:40 2017 +0200 (2017-11-07)
parents 6fab3264ba87
children c1b7795c5c0b
line source
1 # SliTaz package receipt.
3 PACKAGE="ndiswrapper-driver"
4 VERSION="1.59"
5 EXTRAVERSION="_$kvers"
6 CATEGORY="system-tools"
7 SHORT_DESC="Add Windows network drivers support to Linux kernel."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL"
10 SOURCE="ndiswrapper"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://ndiswrapper.sourceforge.net/joomla/"
13 WGET_URL="$SF_MIRROR/$SOURCE/stable/$TARBALL"
14 TAGS="windows wireless network"
16 DEPENDS="linux"
17 BUILD_DEPENDS="linux-module-headers xz"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 make KBUILD=/usr/src/linux KVER=linux-${kvers}-slitaz
23 xz driver/ndiswrapper.ko
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/sbin $fs/sbin $fs/lib/modules/${kvers}-slitaz/kernel/misc
31 # Install utilities
32 install -o root -m 0755 $src/utils/loadndisdriver $fs/sbin/
33 install -o root -m 0644 $src/driver/ndiswrapper.ko.xz \
34 $fs/lib/modules/${kvers}-slitaz/kernel/misc/ndiswrapper.ko.xz
35 }