wok-current view firmware/receipt @ rev 25668
Update firmware, fix sound linux packages
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Mar 02 20:44:59 2024 +0000 (8 months ago) |
parents | a23978bfa665 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="firmware"
4 VERSION="20240220"
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="https://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 BRANCH="$VERSION"
13 BUILD_DEPENDS="git coreutils-multicall rdfind"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $install/usr/share/licenses
32 cp -a $src/LICENCE.* $install/usr/share/licenses
33 }