# Template file for 'b43-fwcutter'
pkgname=b43-fwcutter
version=017
revision=1
short_desc="Firmware extraction tool for Broadcom wireless driver"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="GPL"
homepage="http://wireless.kernel.org/en/users/Drivers/b43"
distfiles="http://bues.ch/b43/fwcutter/$pkgname-$version.tar.bz2"
checksum=92b06548013136fb2bdac7da5de095a12872f27722cf996129ab24945de568b6

do_build() {
	make PREFIX=/usr CC=$CC ${makejobs}
}

do_install() {
	vinstall b43-fwcutter 755 usr/bin
	vinstall b43-fwcutter.1 644 usr/share/man/man1
}

b43-fwcutter_package() {
	pkg_install() {
		vmove usr
	}
}
