wok-6.x annotate get-wifi-firmware/receipt @ rev 14745
wqy-bitmapfont: fix download path, add fontconfig rule.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 14 13:57:08 2013 +0000 (2013-06-14) |
parents | 3ebbba73bb3f |
children | 42b8478866fb |
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@13161 | 20 install_resolver=false |
pascal@13161 | 21 [ -s /etc/resolv.conf -a ! -s $1/etc/resolv.conf ] && install_resolver=true |
pascal@13161 | 22 $install_resolver && cp /etc/resolv.conf $1/etc/resolv.conf |
pascal@13091 | 23 # directly support some freely distributable firmware drivers |
pascal@14006 | 24 chroot $1/ /usr/bin/get-wifi-firmware --get-free-firmware |
pascal@13161 | 25 $install_resolver && rm -f $1/etc/resolv.conf |
jozee@5105 | 26 } |