wok rev 603

get-b43-firmware will also install b43-fwcutter
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 17 22:30:06 2008 +0200 (2008-04-17)
parents 66a35c398785
children b54699c3f89e
files get-b43-firmware/receipt get-b43-firmware/stuff/get-b43-firmware
line diff
     1.1 --- a/get-b43-firmware/receipt	Thu Apr 17 22:16:16 2008 +0200
     1.2 +++ b/get-b43-firmware/receipt	Thu Apr 17 22:30:06 2008 +0200
     1.3 @@ -6,7 +6,6 @@
     1.4  SHORT_DESC="Get Broadcom b43 firmware."
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  WEB_SITE="http://downloads.openwrt.org/"
     1.7 -DEPENDS="b43-fwcutter"
     1.8  
     1.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.10  genpkg_rules()
     2.1 --- a/get-b43-firmware/stuff/get-b43-firmware	Thu Apr 17 22:16:16 2008 +0200
     2.2 +++ b/get-b43-firmware/stuff/get-b43-firmware	Thu Apr 17 22:30:06 2008 +0200
     2.3 @@ -21,6 +21,11 @@
     2.4  	exit 0
     2.5  fi
     2.6  
     2.7 +# Install b43-fwcutter if needed
     2.8 +if [ -d /var/lib/tazpkg/installed/b43-fwcutter ]; then
     2.9 +	tazpkg get-install b43-fwcutter
    2.10 +fi
    2.11 +
    2.12  # Get files
    2.13  cd /tmp
    2.14  wget $WGET_URL
    2.15 @@ -37,6 +42,7 @@
    2.16  VERSION="$VERSION"
    2.17  CATEGORY="non-free"
    2.18  SHORT_DESC="Broadcom b43 firmware."
    2.19 +DEPENDS="b43-fwcutter"
    2.20  WEB_SITE="http://downloads.openwrt.org/"
    2.21  EOT
    2.22