# vim: set syn=sh: # Packager: Phill Watkins pkgname=b43-fwcutter pkgver=013 pkgrel=6pw #arch=noarch source=\ ( "http://bu3sch.de/b43/fwcutter/b43-fwcutter-$pkgver.tar.bz2" "b43-firmware-4.178.10.4.SLKBUILD.gz" "b43-firmware-4.150.10.5.SLKBUILD.gz" "b43legacy-firmware-3.130.20.0.SLKBUILD.gz" "README.Slackware.gz" ) sourcetemplate=http://people.salixos.org/pwatk/packages/13.2/n/$pkgname docs=("README") url=http://linuxwireless.org/en/users/Drivers/b43 options=('nosrcpack') 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." "" "Note: Read '/usr/doc/b43-fwcutter-$pkgver/README.Slackware' for help." ) build() { set -e cd $startdir/src/$pkgname-$pkgver make -j $numjobs 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 -d $startdir/pkg/usr/share/b43-fwcutter/ install -m 0644 $startdir/src/b43*.SLKBUILD $startdir/pkg/usr/share/b43-fwcutter/ install -Dm 0644 $startdir/src/README.Slackware $startdir/pkg/usr/doc/$pkgname-$pkgver/README.Slackware set +e }