# Packager: Phill Watkins pkgname=b43-fwcutter pkgver=013 pkgrel=5pw #arch=noarch source=\ ( "http://bu3sch.de/b43/fwcutter/b43-fwcutter-$pkgver.tar.bz2" "http://people.salixos.org/pwatk/packages/n/$pkgname/$pkgver/install-b43-firmware.gz" "http://people.salixos.org/pwatk/packages/n/$pkgname/$pkgver/b43.SLKBUILD.gz" "http://people.salixos.org/pwatk/packages/n/$pkgname/$pkgver/b43legacy.SLKBUILD.gz" ) sourcetemplate=http://people.salixos.org/pwatk/packages/n/$pkgname/$pkgver docs=("README") url=http://linuxwireless.org/en/users/Drivers/b43 #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "b43-fwcutter (Broadcom BCM43xx firmware extracter)" "The Broadcom wireless chip needs software, called \"firmware\", that" "runs on the wireless chip itself during operation. This firmware is" "copyrighted by Broadcom and must be extracted from Broadcom's" "proprietary drivers." "You can extract the firmware from the Broadcom driver by using" "b43-fwcutter" "The included 'install-b43-firmware' script can download, compile and" "install a b43 or b43legacy firmware package for you." ) build() { set -e cd $startdir/src/$pkgname-$pkgver make install -Dm 0755 b43-fwcutter $startdir/pkg/usr/bin/b43-fwcutter install -Dm 0644 b43-fwcutter.1 $startdir/pkg/usr/man/man1/b43-fwcutter.1 install -Dm 0755 $startdir/src/install-b43-firmware $startdir/pkg/usr/sbin/install-b43-firmware install -Dm 0644 $startdir/src/b43.SLKBUILD $startdir/pkg/usr/share/b43-fwcutter/b43.SLKBUILD install -Dm 0644 $startdir/src/b43legacy.SLKBUILD $startdir/pkg/usr/share/b43-fwcutter/b43legacy.SLKBUILD set +e }