wok annotate firmware/receipt @ rev 25643
Fix mouse issue on mc with ncurses6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jan 12 14:14:28 2024 +0100 (7 months ago) |
parents | bfabe25c21ff |
children |
rev | line source |
---|---|
slaxemulator@9153 | 1 # SliTaz package receipt. |
slaxemulator@9153 | 2 |
slaxemulator@9153 | 3 PACKAGE="firmware" |
mojo@23773 | 4 VERSION="20200515" |
slaxemulator@9153 | 5 CATEGORY="meta" |
slaxemulator@9153 | 6 SHORT_DESC="Firmware files for Linux" |
mojo@20138 | 7 MAINTAINER="mojo@slitaz.org" |
pascal@15593 | 8 LICENSE="other" |
mojo@20138 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@25539 | 10 WEB_SITE="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git" |
mojo@20138 | 11 WGET_URL="git|git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git" |
mojo@20138 | 12 BUILD_DEPENDS="git" |
slaxemulator@9153 | 13 |
pascal@24439 | 14 # What is the latest version available today? |
pascal@24439 | 15 current_version() |
pascal@24439 | 16 { |
pascal@24439 | 17 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24439 | 18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24439 | 19 } |
pascal@24439 | 20 |
slaxemulator@9153 | 21 # Rules to configure and make the package. |
slaxemulator@9153 | 22 compile_rules() |
slaxemulator@9153 | 23 { |
mojo@20138 | 24 make install |
slaxemulator@9153 | 25 } |
slaxemulator@9153 | 26 |
slaxemulator@9153 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9153 | 28 genpkg_rules() |
slaxemulator@9153 | 29 { |
mojo@20138 | 30 mkdir -p $install/usr/share/licenses |
mojo@20138 | 31 cp -a $src/LICENCE.* $install/usr/share/licenses |
slaxemulator@9153 | 32 } |
slaxemulator@9153 | 33 |