wok-current view cpulimit/receipt @ rev 25154

updated proxychains-ng (4.14 -> 4.16)
author Hans-G?nter Theisgen
date Thu Jun 30 15:28:13 2022 +0100 (2022-06-30)
parents 370da83187ab
children b0069c845544
line source
1 # SliTaz package receipt.
3 PACKAGE="cpulimit"
4 VERSION="1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Limits the cpu usage of a process"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://cpulimit.sourceforge.net"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS=""
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://sourceforge.net/projects/cpulimit/files/cpulimit/cpulimit/ 2>/dev/null | \
19 sed '/scope="row/!d;s|.*/cpulimit-||;s|.tar.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/cpulimit $fs/usr/bin
34 }