wok view ndiswrapper-driver/receipt @ rev 20283

security fixes from 0.3.1.9 (2017 Dec 1) and 0.3.1.10 (March 3)... further info: https://blog.torproject.org/new-stable-tor-releases-security-fixes-and-dos-prevention-03210-03110-02915
author Erkan Yilmaz <erkan@slitaz.org>
date Tue Mar 27 11:09:07 2018 +0000 (2018-03-27)
parents 6fab3264ba87
children 45359819b214
line source
1 # SliTaz package receipt.
3 PACKAGE="ndiswrapper-driver"
4 VERSION="1.61"
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 sed -i 's|error Multiple|echo Multiple|' driver/Makefile
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 EXTRAVERSION=_${kvers}
30 mkdir -p $fs/usr/sbin $fs/sbin $fs/lib/modules/${kvers}-slitaz/kernel/misc
32 # Install utilities
33 install -o root -m 0755 $src/utils/loadndisdriver $fs/sbin/
34 install -o root -m 0644 $src/driver/ndiswrapper.ko.xz \
35 $fs/lib/modules/${kvers}-slitaz/kernel/misc/ndiswrapper.ko.xz
36 }