wok view sysstat/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 2b9ff117a412 |
children |
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="https://github.com/sysstat/sysstat/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/sysstat/sysstat/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 }