wok annotate get-wifi-firmware/receipt @ rev 6505

Up: python-webob to 1.0 and modify WGET_URL for python-weberror
author Julien Rabier <taziden@slitaz.org>
date Fri Oct 01 21:08:42 2010 +0000 (2010-10-01)
parents e82def084629
children 7843031ac32d
rev   line source
pascal@1040 1 # SliTaz package receipt.
pascal@1040 2
pascal@1040 3 PACKAGE="get-wifi-firmware"
jozee@5105 4 VERSION="2.0"
pascal@1040 5 CATEGORY="non-free"
pascal@1040 6 SHORT_DESC="Get misc wifi firmwares."
pascal@1040 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2086 8 WEB_SITE="http://hg.slitaz.org/wok/file/tip/$PACKAGE/stuff/$PACKAGE"
pascal@1040 9
pascal@1040 10 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1040 11 genpkg_rules()
pascal@1040 12 {
pascal@1040 13 mkdir -p $fs/usr/bin
pascal@1040 14 cp stuff/$PACKAGE $fs/usr/bin
pascal@2348 15 for i in b43 b43legacy ipw2100 ipw2200 rt61 rt73 rt2860 zd1211 \
jozee@5105 16 rt61pci rt73usb rt2870usb zd1211rw \
jozee@5105 17 iwlwifi-3945 iwlwifi-4965 iwlwifi-5000 iwlwifi-5150 iwlwifi-1000 iwlwifi-6000; do
pascal@1040 18 ln -s $PACKAGE $fs/usr/bin/get-$i-firmware
pascal@1040 19 done
pascal@1040 20 }
jozee@5105 21
jozee@5105 22 post_install()
jozee@5105 23 {
jozee@5105 24 # directly support some freely distributable firmware drivers
jozee@5105 25 # intel
jozee@5105 26 get-iwlwifi-3945-firmware --firmware
jozee@5105 27 get-iwlwifi-4965-firmware --firmware
jozee@5105 28 get-iwlwifi-5000-firmware --firmware
jozee@5105 29 # ralink
jozee@5105 30 get-rt61-firmware --firmware
jozee@5105 31 get-rt73-firmware --firmware
jozee@5105 32 get-rt2870usb-firmware --firmware
jozee@5105 33 }