wok-undigest rev 27

Add sysstat (Thanks Christophe)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Apr 07 00:08:57 2010 +0200 (2010-04-07)
parents 7275180ccf56
children 54848ce9f955
files sysstat/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sysstat/receipt	Wed Apr 07 00:08:57 2010 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="sysstat"
     1.7 +VERSION="9.0.6"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Utilities to monitor system performance and usage activity."
    1.10 +MAINTAINER="christophe.paris@free.fr"
    1.11 +DEPENDS=""
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://pagesperso-orange.fr/sebastien.godard"
    1.14 +WGET_URL="$WEB_SITE/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	./configure --disable-nls --disable-documentation \
    1.21 +		--prefix=/usr \
    1.22 +		$CONFIGURE_ARGS &&
    1.23 +	make && make DESTDIR=$PWD/_pkg install
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	# system activity directory
    1.30 +	mkdir -p $fs/var/log/sa
    1.31 +	
    1.32 +	# sadc directory
    1.33 +	mkdir -p $fs/usr/lib/sa
    1.34 +	
    1.35 +	cp -a $_pkg/usr/bin $fs/usr
    1.36 +	cp -a $_pkg/usr/lib $fs/usr
    1.37 +	cp -a $_pkg/etc/sysconfig $fs/etc
    1.38 +}