wok annotate sysstat/receipt @ rev 25457

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