wok-next view ndiswrapper-driver/receipt @ rev 21379
updated mspdebug (0.17 -> 0.25)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 16:31:49 2020 +0100 (2020-04-16) |
parents | d5aab818505e |
children | 0864957869ec |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ndiswrapper-driver"
4 VERSION="1.61"
5 EXTRAVERSION="_$kvers"
6 CATEGORY="system-tools"
7 SHORT_DESC="Add Windows network drivers support to Linux kernel"
8 MAINTAINER="devel@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 make KBUILD=/usr/src/linux KVER=linux-$kvers-slitaz
21 xz driver/ndiswrapper.ko
23 mkdir -p \
24 $install/usr/sbin \
25 $install/sbin \
26 $install/lib/modules/$kvers-slitaz/kernel/misc
28 # Install utilities
29 install -o root -m755 $src/utils/loadndisdriver $install/sbin/
30 install -o root -m755 $src/utils/ndiswrapper $install/usr/sbin/
31 install -o root -m755 $src/utils/ndiswrapper-buginfo $install/usr/sbin/
32 install -o root -m644 $src/driver/ndiswrapper.ko.xz \
33 $install/lib/modules/$kvers-slitaz/kernel/misc/ndiswrapper.ko.xz
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 ndiswrapper-driver)
39 copy loadndisdriver ndiswrapper.ko.xz
40 DEPENDS="linux"
41 ;;
42 ndiswrapper-utils)
43 copy ndiswrapper ndiswrapper-buginfo
44 CAT="system-tools|utilities"
45 DEPENDS="ndiswrapper-driver perl"
46 ;;
47 ndiswrapper)
48 CATEGORY="meta"
49 DEPENDS="ndiswrapper-driver ndiswrapper-utils wireless_tools"
50 ;;
51 esac
52 TAGS="windows wireless network"
53 }