wok view ndiswrapper-driver64/receipt @ rev 20394

Add ndiswrapper-driver64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 25 13:19:27 2018 +0200 (2018-06-25)
parents
children bb88d5d1c8fb
line source
1 # SliTaz package receipt.
3 PACKAGE="ndiswrapper-driver64"
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="linux64-module-headers xz uclibc-cross-compiler-x86_64"
18 AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8("
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's|error Multiple|echo Multiple|' driver/Makefile
24 make KBUILD=/usr/src/linux KVER=linux-${kvers}-slitaz64
25 xz driver/ndiswrapper.ko
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 EXTRAVERSION=_${kvers}
32 mkdir -p $fs/usr/sbin $fs/sbin $fs/lib/modules/${kvers}-slitaz64/kernel/misc
34 # Install utilities
35 install -o root -m 0755 $src/utils/loadndisdriver $fs/sbin/
36 install -o root -m 0644 $src/driver/ndiswrapper.ko.xz \
37 $fs/lib/modules/${kvers}-slitaz64/kernel/misc/ndiswrapper.ko.xz
38 }