wok view ndiswrapper-driver64/receipt @ rev 23741

updated workerfm again (2.19.6 -> 4.1.0)
author Hans-G?nter Theisgen
date Fri May 01 11:25:13 2020 +0100 (7 months ago)
parents 20661c276bcf
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ndiswrapper-driver64"
4 VERSION="1.62"
5 CATEGORY="system-tools"
6 TAGS="windows wireless network"
7 SHORT_DESC="Add Windows network drivers support to Linux kernel."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="https://sourceforge.net/projects/ndiswrapper"
12 SOURCE="ndiswrapper"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="$SF_MIRROR/$SOURCE/stable/$TARBALL"
16 PROVIDE="ndiswrapper-driver:linux64"
17 DEPENDS="linux64"
18 BUILD_DEPENDS="linux64-module-headers xz uclibc-cross-compiler-x86_64"
20 AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8("
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's|error Multiple|echo Multiple|' driver/Makefile
27 make KBUILD=/usr/src/linux KVER=linux-${kvers}-slitaz64
29 xz driver/ndiswrapper.ko
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 EXTRAVERSION=_${kvers}
36 mkdir -p $fs/sbin
37 mkdir -p $fs/lib/modules/${kvers}-slitaz64/kernel/misc
39 # Install utilities
40 install -o root -m 0755 $src/utils/loadndisdriver \
41 $fs/sbin/
42 install -o root -m 0644 $src/driver/ndiswrapper.ko.xz \
43 $fs/lib/modules/${kvers}-slitaz64/kernel/misc/ndiswrapper.ko.xz
44 }
46 # Post install/remove commands for Tazpkg.
47 post_install()
48 {
49 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64
50 }
52 post_remove()
53 {
54 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64
55 }