wok view sysstat/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents 934055de50e2
children 0c82700f4deb
line source
1 # SliTaz package receipt.
3 PACKAGE="sysstat"
4 VERSION="12.6.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Performance monitoring tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://sebastien.godard.pagesperso-orange.fr/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="bzip2 gcc83 gettext"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/released/!d;/devel/d;s|.*stat ||;s| .*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|(uname -m)|(echo i686)|' configure
29 ./configure \
30 CC=gcc-83 \
31 CXX=g++-83 \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders etc
41 cook_copy_folders bin
42 cook_copy_folders lib
43 cook_copy_folders var
44 }