wok-6.x annotate get-wifi-firmware/receipt @ rev 13091
get-wifi-firmware: remove hard coded version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 26 11:55:39 2012 +0200 (2012-06-26) |
parents | 7843031ac32d |
children | 3ebbba73bb3f |
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@13091 | 15 $fs/usr/bin/$PACKAGE --install |
pascal@1040 | 16 } |
jozee@5105 | 17 |
jozee@5105 | 18 post_install() |
jozee@5105 | 19 { |
pascal@13091 | 20 # directly support some freely distributable firmware drivers |
pascal@13091 | 21 chroot $1 /usr/bin/get-wifi-firmware --get-free-firmware |
jozee@5105 | 22 } |