wok-6.x annotate get-wifi-firmware/receipt @ rev 9820
ejabberd: Needs DESTDIR to be packaged.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 14 20:17:54 2011 +0000 (2011-05-14) |
parents | 92fe53b748bb |
children | 10dc8abeebb2 |
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 |
slaxemulator@6949 | 26 rootfs=$1 |
slaxemulator@6949 | 27 get-iwlwifi-3945-firmware --firmware $rootfs |
slaxemulator@6949 | 28 get-iwlwifi-4965-firmware --firmware $rootfs |
slaxemulator@6949 | 29 get-iwlwifi-5000-firmware --firmware $rootfs |
jozee@5105 | 30 # ralink |
slaxemulator@6949 | 31 get-rt61-firmware --firmware $rootfs |
slaxemulator@6949 | 32 get-rt73-firmware --firmware $rootfs |
slaxemulator@6949 | 33 get-rt2870usb-firmware --firmware $rootfs |
jozee@5105 | 34 } |