wok view firmware/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents bfabe25c21ff
children
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="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 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 }