wok-6.x view ndiswrapper-driver64/receipt @ rev 23333

updated perl-file-which (1.22 -> 1.23)
author Hans-G?nter Theisgen
date Tue Mar 31 07:07:01 2020 +0100 (2020-03-31)
parents 20661c276bcf
children afae00265386
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 }