wok-next view ndiswrapper-driver/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | c1b7795c5c0b |
children | 4e6503d7a19f |
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="erjo@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="http://ndiswrapper.sourceforge.net/joomla/"
12 TARBALL="ndiswrapper-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/ndiswrapper/$TARBALL"
15 BUILD_DEPENDS="linux-module-headers xz"
16 SPLIT="ndiswrapper-driver ndiswrapper-utils ndiswrapper"
18 compile_rules() {
19 make KBUILD=/usr/src/linux KVER=linux-${kvers}-slitaz
20 xz driver/ndiswrapper.ko
22 mkdir -p \
23 $install/usr/sbin \
24 $install/sbin \
25 $install/lib/modules/${kvers}-slitaz/kernel/misc
27 # Install utilities
28 install -o root -m755 $src/utils/loadndisdriver $install/sbin/
29 install -o root -m755 $src/utils/ndiswrapper $install/usr/sbin/
30 install -o root -m755 $src/utils/ndiswrapper-buginfo $install/usr/sbin/
31 install -o root -m644 $src/driver/ndiswrapper.ko.xz \
32 $install/lib/modules/${kvers}-slitaz/kernel/misc/ndiswrapper.ko.xz
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 ndiswrapper-driver)
38 copy loadndisdriver ndiswrapper.ko.xz
39 DEPENDS="linux"
40 ;;
41 ndiswrapper-utils)
42 copy ndiswrapper ndiswrapper-buginfo
43 CAT="system-tools|utilities"
44 DEPENDS="ndiswrapper-driver perl"
45 ;;
46 ndiswrapper)
47 CATEGORY="meta"
48 DEPENDS="ndiswrapper-driver ndiswrapper-utils wireless_tools"
49 ;;
50 esac
51 TAGS="windows wireless network"
52 }