wok view cpulimit/receipt @ rev 24560
updated fossil (2.12.1 -> 2.18)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 16:12:40 2022 +0100 (2022-02-25) |
parents | eb8067417980 |
children | 00e3b45c063b |
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="http://ovh.dl.sourceforge.net/sourceforge/cpulimit/$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 }