wok-4.x view get-wifi-firmware/receipt @ rev 5804

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 11 20:49:32 2010 +0200 (2010-07-11)
parents e82def084629
children 7843031ac32d
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 get-iwlwifi-3945-firmware --firmware
27 get-iwlwifi-4965-firmware --firmware
28 get-iwlwifi-5000-firmware --firmware
29 # ralink
30 get-rt61-firmware --firmware
31 get-rt73-firmware --firmware
32 get-rt2870usb-firmware --firmware
33 }