wok view cpulimit/receipt @ rev 24978

Add memtest-efi32 & memtest-efi64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 07 11:09:47 2022 +0000 (24 months ago)
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 }