SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "cpufrequtils"

# SliTaz package receipt.

PACKAGE="cpufrequtils"
VERSION="008"
CATEGORY="system-tools"
SHORT_DESC="Userspace tools for the kernel cpufreq subsystem."
MAINTAINER="gokhlayeh@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://mirrors.edge.kernel.org/pub/linux/utils/kernel/cpufreq/"
WGET_URL="https://www.kernel.org/pub/linux/utils/kernel/cpufreq/$TARBALL"

DEPENDS="sysfsutils linux-cpufreq"
BUILD_DEPENDS="libtool gettext sed"

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

# Rules to configure and make the package.
compile_rules()
{
    make LIBTOOL_OPT="--silent --tag=CC" &&
    make DESTDIR=$DESTDIR mandir=/usr/share/man install    
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib $fs/usr
    cp -a $install/usr/share/locale $fs/usr/share
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)