wok-6.x annotate cpulimit/receipt @ rev 25565
Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue May 09 17:24:00 2023 +0000 (21 months ago) |
parents | 00e3b45c063b |
children |
rev | line source |
---|---|
paul@1301 | 1 # SliTaz package receipt. |
paul@1301 | 2 |
paul@1301 | 3 PACKAGE="cpulimit" |
paul@1301 | 4 VERSION="1.1" |
paul@1301 | 5 CATEGORY="system-tools" |
paul@1316 | 6 SHORT_DESC="Limits the cpu usage of a process" |
paul@1301 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15579 | 8 LICENSE="GPL2" |
paul@1301 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25469 | 10 WEB_SITE="https://cpulimit.sourceforge.net" |
pascal@24978 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@1301 | 12 |
pascal@15579 | 13 DEPENDS="" |
pascal@15579 | 14 |
pascal@24361 | 15 # What is the latest version available today? |
pascal@24361 | 16 current_version() |
pascal@24361 | 17 { |
pascal@24361 | 18 wget -O - https://sourceforge.net/projects/cpulimit/files/cpulimit/cpulimit/ 2>/dev/null | \ |
pascal@24361 | 19 sed '/scope="row/!d;s|.*/cpulimit-||;s|.tar.*||;q' |
pascal@24361 | 20 } |
pascal@24361 | 21 |
paul@1301 | 22 # Rules to configure and make the package. |
paul@1301 | 23 compile_rules() |
paul@1301 | 24 { |
paul@1301 | 25 cd $src |
paul@1301 | 26 make |
paul@1301 | 27 } |
paul@1301 | 28 |
paul@1301 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1301 | 30 genpkg_rules() |
paul@1301 | 31 { |
paul@1301 | 32 mkdir -p $fs/usr/bin |
paul@1301 | 33 cp -a $src/cpulimit $fs/usr/bin |
paul@1301 | 34 } |