wok-current view get-wifi-firmware/receipt @ rev 7212
Up: bind to 9.7.2-P2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 10 17:36:07 2010 +0000 (2010-11-10) |
parents | 92fe53b748bb |
children | 10dc8abeebb2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="get-wifi-firmware"
4 VERSION="2.0"
5 CATEGORY="non-free"
6 SHORT_DESC="Get misc wifi firmwares."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://hg.slitaz.org/wok/file/tip/$PACKAGE/stuff/$PACKAGE"
10 # Rules to gen a SliTaz package suitable for Tazpkg.
11 genpkg_rules()
12 {
13 mkdir -p $fs/usr/bin
14 cp stuff/$PACKAGE $fs/usr/bin
15 for i in b43 b43legacy ipw2100 ipw2200 rt61 rt73 rt2860 zd1211 \
16 rt61pci rt73usb rt2870usb zd1211rw \
17 iwlwifi-3945 iwlwifi-4965 iwlwifi-5000 iwlwifi-5150 iwlwifi-1000 iwlwifi-6000; do
18 ln -s $PACKAGE $fs/usr/bin/get-$i-firmware
19 done
20 }
22 post_install()
23 {
24 # directly support some freely distributable firmware drivers
25 # intel
26 rootfs=$1
27 get-iwlwifi-3945-firmware --firmware $rootfs
28 get-iwlwifi-4965-firmware --firmware $rootfs
29 get-iwlwifi-5000-firmware --firmware $rootfs
30 # ralink
31 get-rt61-firmware --firmware $rootfs
32 get-rt73-firmware --firmware $rootfs
33 get-rt2870usb-firmware --firmware $rootfs
34 }