wok-6.x diff get-wifi-firmware/receipt @ rev 5150

a2ps, dev86, icedtea6-jdk: compile_rules should be busybox compatible
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 24 08:33:13 2010 +0100 (2010-03-24)
parents e82def084629
children 7843031ac32d
line diff
     1.1 --- a/get-wifi-firmware/receipt	Wed Mar 04 12:10:47 2009 +0000
     1.2 +++ b/get-wifi-firmware/receipt	Wed Mar 24 08:33:13 2010 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="get-wifi-firmware"
     1.7 -VERSION="1.0"
     1.8 +VERSION="2.0"
     1.9  CATEGORY="non-free"
    1.10  SHORT_DESC="Get misc wifi firmwares."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -13,8 +13,21 @@
    1.13  	mkdir -p $fs/usr/bin
    1.14  	cp stuff/$PACKAGE $fs/usr/bin
    1.15  	for i in b43 b43legacy ipw2100 ipw2200 rt61 rt73 rt2860 zd1211 \
    1.16 -		 rt61pci rt73usb zd1211rw \
    1.17 -		 iwlwifi-3945 iwlwifi-4965 iwlwifi-5000; do
    1.18 +		 rt61pci rt73usb rt2870usb zd1211rw \
    1.19 +		 iwlwifi-3945 iwlwifi-4965 iwlwifi-5000 iwlwifi-5150 iwlwifi-1000 iwlwifi-6000; do
    1.20  		ln -s $PACKAGE $fs/usr/bin/get-$i-firmware
    1.21  	done
    1.22  }
    1.23 +
    1.24 +post_install()
    1.25 +{
    1.26 +  # directly support some freely distributable firmware drivers 
    1.27 +  # intel
    1.28 +  get-iwlwifi-3945-firmware --firmware
    1.29 +  get-iwlwifi-4965-firmware --firmware
    1.30 +  get-iwlwifi-5000-firmware --firmware
    1.31 +  # ralink
    1.32 +  get-rt61-firmware --firmware
    1.33 +  get-rt73-firmware --firmware
    1.34 +  get-rt2870usb-firmware --firmware
    1.35 +}