# HG changeset patch # User Pascal Bellard # Date 1234199564 0 # Node ID ce4c08cf466c99e91611a539e396923ffc07b610 # Parent a21224b0a7b8a937f628d6f68b2bc85bc90b974f Remove duplicate get-*-firmware diff -r a21224b0a7b8 -r ce4c08cf466c get-b43-firmware/receipt --- a/get-b43-firmware/receipt Mon Feb 09 14:46:03 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="get-b43-firmware" -VERSION="1.01" -CATEGORY="non-free" -SHORT_DESC="Get Broadcom b43 firmware." -MAINTAINER="pankso@slitaz.org" -WEB_SITE="http://downloads.openwrt.org/" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp stuff/$PACKAGE $fs/usr/bin -} diff -r a21224b0a7b8 -r ce4c08cf466c get-b43-firmware/stuff/get-b43-firmware --- a/get-b43-firmware/stuff/get-b43-firmware Mon Feb 09 14:46:03 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,75 +0,0 @@ -#!/bin/sh -# -# Get and install non-free Broadcom b43 firmware. The script wil also -# install linux-wireless and b43-fwcutter if needed. Finaly try to -# configure wlan0 interface. -# - -DIR="broadcom-wl" -VERSION=4.80.53.0 -TARBALL=$DIR-$VERSION.tar.bz2 -WGET_URL="http://downloads.openwrt.org/sources/$TARBALL" -ROOT="$1" - -# Check if user is root to install. -if test $(id -u) != 0 ; then - echo -e "\nYou must be root to run `basename $0`." - echo -e "Please use 'su' and root password to become super-user.\n" - exit 0 -fi - -# Avoid reinstall -if [ -d $ROOT/var/lib/tazpkg/installed/b43-firmware ]; then - echo -e "\nb43-firmware package is already installed.\n" - exit 0 -fi - -# We need drivers, the extractor and tools. -for pkg in linux-wireless b43-fwcutter wireless_tools -do - if [ ! -d /var/lib/tazpkg/installed/$pkg ]; then - tazpkg get-install $pkg - fi -done - -# Get files -cd /tmp -wget $WGET_URL -tar xjf $TARBALL -cd $DIR-$VERSION/kmod - -# Create pseudo package -mkdir -p b43-firmware-$VERSION/fs/lib/firmware -b43-fwcutter -w "b43-firmware-$VERSION/fs/lib/firmware" wl_apsta.o - -# Creat receipt -cat > b43-firmware-$VERSION/receipt < b43legacy-firmware-$VERSION/receipt < $PKG-$VERSION/receipt < $PKG-$VERSION/receipt <