wok annotate b43-fwcutter/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 9e6d9bc46ef3 |
children |
rev | line source |
---|---|
pankso@587 | 1 # SliTaz package receipt. |
pankso@587 | 2 |
pankso@587 | 3 PACKAGE="b43-fwcutter" |
Hans-G?nter@20737 | 4 VERSION="019" |
erjo@755 | 5 CATEGORY="utilities" |
Hans-G?nter@20737 | 6 TAGS="wireless" |
erjo@755 | 7 SHORT_DESC="Broadcom 43xx Linux Driver." |
erjo@784 | 8 MAINTAINER="erjo@slitaz.org" |
pascal@15474 | 9 LICENSE="BSD" |
Hans-G?nter@20737 | 10 WEB_SITE="https://bues.ch/cms/hacking/misc.html#linux_b43_driver_firmware_tools" |
Hans-G?nter@20737 | 11 |
pankso@587 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@20737 | 13 WGET_URL="https://bues.ch/b43/fwcutter/$TARBALL" |
pankso@587 | 14 |
pascal@15474 | 15 DEPENDS="" |
pascal@15474 | 16 |
pascal@24373 | 17 # What is the latest version available today? |
pascal@24373 | 18 current_version() |
pascal@24373 | 19 { |
pascal@24373 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24373 | 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24373 | 22 } |
pascal@24373 | 23 |
pankso@587 | 24 # Rules to configure and make the package. |
pankso@587 | 25 compile_rules() |
pankso@587 | 26 { |
erjo@755 | 27 make |
al@19275 | 28 |
al@19275 | 29 cook_pick_manpages $src/*.1 |
pankso@587 | 30 } |
pankso@587 | 31 |
pankso@587 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@587 | 33 genpkg_rules() |
pankso@587 | 34 { |
pankso@587 | 35 mkdir -p $fs/usr/bin |
erjo@755 | 36 cp -a $src/$PACKAGE $fs/usr/bin |
pankso@587 | 37 } |