From a3c180d1f9870211cf0a22769b2f9041fcc9c50a Mon Sep 17 00:00:00 2001 From: Ypnose Date: Sat, 1 Jun 2013 15:08:05 +0200 Subject: [PATCH] New package: b43-fwcutter --- srcpkgs/b43-fwcutter/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/b43-fwcutter/template diff --git a/srcpkgs/b43-fwcutter/template b/srcpkgs/b43-fwcutter/template new file mode 100644 index 00000000000..775d798d57d --- /dev/null +++ b/srcpkgs/b43-fwcutter/template @@ -0,0 +1,27 @@ +# Template file for 'b43-fwcutter' +pkgname=b43-fwcutter +version=017 +revision=1 +makedepends="glibc-devel" +short_desc="Firmware extraction tool for Broadcom wireless driver" +maintainer="Ypnose " +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() { + depends="glibc" + pkg_install() { + vmove usr + } +}