wok view firmware/receipt @ rev 25283

updated roundup (1.6.1 -> 2.2.0)
author Hans-G?nter Theisgen
date Mon Jul 18 15:58:43 2022 +0100 (21 months ago)
parents 1bc6c02d5fdd
children c3a6f662a1c1
line source
1 # SliTaz package receipt.
3 PACKAGE="firmware"
4 VERSION="20200515"
5 CATEGORY="meta"
6 SHORT_DESC="Firmware files for Linux"
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="other"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git"
11 WGET_URL="git|git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
12 BUILD_DEPENDS="git"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - $WEB_SITE 2>/dev/null | \
18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $install/usr/share/licenses
31 cp -a $src/LICENCE.* $install/usr/share/licenses
32 }