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