SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "cpulimit"

# SliTaz package receipt.

PACKAGE="cpulimit"
VERSION="1.1"
CATEGORY="system-tools"
SHORT_DESC="Limits the cpu usage of a process"
MAINTAINER="allan316@gmail.com"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://cpulimit.sourceforge.net"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/cpulimit/files/cpulimit/cpulimit/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*/cpulimit-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    make
}

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