wok-next view ndiswrapper-driver/receipt @ rev 21634
updated exiftool (11.17 -> 12.01)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 10:45:57 2020 +0100 (2020-06-26) |
parents | 89617d35ca0c |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ndiswrapper-driver"
4 VERSION="1.62"
5 EXTRAVERSION="_$kvers"
6 CATEGORY="system-tools"
7 SHORT_DESC="Add Windows network drivers support to Linux kernel"
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="http://ndiswrapper.sourceforge.net/"
11 REPOLOGY="ndiswrapper"
13 TARBALL="ndiswrapper-$VERSION.tar.gz"
14 WGET_URL="$SF_MIRROR/ndiswrapper/$TARBALL"
16 BUILD_DEPENDS="linux-module-headers xz"
17 SPLIT="ndiswrapper-utils ndiswrapper"
19 compile_rules()
20 {
21 make KBUILD=/usr/src/linux KVER=linux-$kvers-slitaz
22 xz driver/ndiswrapper.ko
24 mkdir -p \
25 $install/usr/sbin \
26 $install/sbin \
27 $install/lib/modules/$kvers-slitaz/kernel/misc
29 # Install utilities
30 install -o root -m755 $src/utils/loadndisdriver $install/sbin/
31 install -o root -m755 $src/utils/ndiswrapper $install/usr/sbin/
32 install -o root -m755 $src/utils/ndiswrapper-buginfo $install/usr/sbin/
33 install -o root -m644 $src/driver/ndiswrapper.ko.xz \
34 $install/lib/modules/$kvers-slitaz/kernel/misc/ndiswrapper.ko.xz
35 }
37 genpkg_rules()
38 {
39 case $PACKAGE in
40 ndiswrapper-driver)
41 copy loadndisdriver ndiswrapper.ko.xz
42 DEPENDS="linux"
43 ;;
44 ndiswrapper-utils)
45 copy ndiswrapper ndiswrapper-buginfo
46 CAT="system-tools|utilities"
47 DEPENDS="ndiswrapper-driver perl"
48 ;;
49 ndiswrapper)
50 CATEGORY="meta"
51 DEPENDS="ndiswrapper-driver ndiswrapper-utils wireless_tools"
52 ;;
53 esac
54 TAGS="windows wireless network"
55 }