# SliTaz package receipt. PACKAGE="sysstat" VERSION="12.6.0" CATEGORY="system-tools" SHORT_DESC="Performance monitoring tools." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="http://sebastien.godard.pagesperso-orange.fr/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz" DEPENDS="gcc83-lib-base" BUILD_DEPENDS="bzip2 gcc83 gettext" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/released/!d;/devel/d;s|.*stat ||;s| .*||;q' } # Rules to configure and make the package. compile_rules() { sed -i 's|(uname -m)|(echo i686)|' configure ./configure \ CC=gcc-83 \ CXX=g++-83 \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders etc cook_copy_folders bin cook_copy_folders lib cook_copy_folders var }