wok-6.x annotate b43-fwcutter/receipt @ rev 587
Add: b43-fwcutter + get-b43-firmware
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 16 01:37:50 2008 +0200 (2008-04-16) |
parents | |
children | 357c9dba020c |
rev | line source |
---|---|
pankso@587 | 1 # SliTaz package receipt. |
pankso@587 | 2 |
pankso@587 | 3 PACKAGE="b43-fwcutter" |
pankso@587 | 4 VERSION="011" |
pankso@587 | 5 CATEGORY="system-tool" |
pankso@587 | 6 SHORT_DESC="Broadcom b43 firmware extractor." |
pankso@587 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@587 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@587 | 9 WEB_SITE="http://developer.berlios.de/project/showfiles.php?group_id=4547" |
pankso@587 | 10 WGET_URL="http://bu3sch.de/b43/fwcutter/$TARBALL" |
pankso@587 | 11 |
pankso@587 | 12 # Rules to configure and make the package. |
pankso@587 | 13 compile_rules() |
pankso@587 | 14 { |
pankso@587 | 15 cd $src |
pankso@587 | 16 make |
pankso@587 | 17 } |
pankso@587 | 18 |
pankso@587 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@587 | 20 genpkg_rules() |
pankso@587 | 21 { |
pankso@587 | 22 mkdir -p $fs/usr/bin |
pankso@587 | 23 cp -a $src/b43-fwcutter $fs/usr/bin |
pankso@587 | 24 } |
pankso@587 | 25 |
pankso@587 | 26 # Ensure /lib/firmware exist. |
pankso@587 | 27 post_install() |
pankso@587 | 28 { |
pankso@587 | 29 local root |
pankso@587 | 30 root=$1 |
pankso@587 | 31 mkdir -p $root/lib/firmware |
pankso@587 | 32 } |