[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
Hi,
here is a receipt for sysstat : a collection of performance monitoring tools.
More info here : http://pagesperso-orange.fr/sebastien.godard/features.html
Regards,
Christophe
# SliTaz package receipt.
PACKAGE="sysstat"
VERSION="9.0.6"
CATEGORY="system-tools"
SHORT_DESC="Utilities to monitor system performance and usage activity."
MAINTAINER=""
DEPENDS=""
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://pagesperso-orange.fr/sebastien.godard"
WGET_URL="$WEB_SITE/$TARBALL"
# Rules to configure and make the package.
compile_rules()
{
cd $src
./configure --disable-nls --disable-documentation \
--prefix=/usr \
$CONFIGURE_ARGS &&
make && make DESTDIR=$PWD/_pkg install
}
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
# system activity directory
mkdir -p $fs/var/log/sa
# sadc directory
mkdir -p $fs/usr/lib/sa
cp -a $_pkg/usr/bin $fs/usr
cp -a $_pkg/usr/lib $fs/usr
cp -a $_pkg/etc/sysconfig $fs/etc
}