wok view ndiswrapper-driver/receipt @ rev 18980

Up: New wallpapers and new mirror.
author Leonardo Laporte <hackdorte@sapo.pt>
date Tue Mar 15 05:30:13 2016 -0300 (2016-03-15)
parents db5b03f42dd9
children 8a51ff352615
line source
1 # SliTaz package receipt.
3 PACKAGE="ndiswrapper-driver"
4 VERSION="1.59"
5 CATEGORY="system-tools"
6 SHORT_DESC="Add Windows network drivers support to Linux kernel."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL"
9 SOURCE="ndiswrapper"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://ndiswrapper.sourceforge.net/joomla/"
12 WGET_URL="$SF_MIRROR/$SOURCE/stable/$TARBALL"
13 TAGS="windows wireless network"
15 DEPENDS="linux"
16 BUILD_DEPENDS="linux-module-headers xz"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 make KBUILD=/usr/src/linux KVER=linux-${kvers}-slitaz
22 xz driver/ndiswrapper.ko
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 EXTRAVERSION=_${kvers}
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 }