SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "firmware"

# SliTaz package receipt.

PACKAGE="firmware"
VERSION="20240220"
CATEGORY="meta"
SHORT_DESC="Firmware files for Linux"
MAINTAINER="mojo@slitaz.org"
LICENSE="other"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git"
WGET_URL="git|git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
BRANCH="$VERSION"
BUILD_DEPENDS="git coreutils-multicall rdfind"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    make install    
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $install/usr/share/licenses
        cp -a $src/LICENCE.* $install/usr/share/licenses
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)