wok annotate sysstat/receipt @ rev 6027
Add sysstat
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 15 16:50:10 2010 +0200 (2010-08-15) |
parents | |
children | 1f09198f8c07 |
rev | line source |
---|---|
pascal@6027 | 1 # SliTaz package receipt. |
pascal@6027 | 2 |
pascal@6027 | 3 PACKAGE="sysstat" |
pascal@6027 | 4 VERSION="9.1.4" |
pascal@6027 | 5 CATEGORY="system-tools" |
pascal@6027 | 6 SHORT_DESC="Performance monitoring tools." |
pascal@6027 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@6027 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@6027 | 9 WEB_SITE="http://sebastien.godard.pagesperso-orange.fr/" |
pascal@6027 | 10 WGET_URL="http://pagesperso-orange.fr/sebastien.godard/$TARBALL" |
pascal@6027 | 11 |
pascal@6027 | 12 # Rules to configure and make the package. |
pascal@6027 | 13 compile_rules() |
pascal@6027 | 14 { |
pascal@6027 | 15 cd $src |
pascal@6027 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@6027 | 17 --mandir=/usr/share/man \ |
pascal@6027 | 18 $CONFIGURE_ARGS && |
pascal@6027 | 19 make && |
pascal@6027 | 20 make DESTDIR=$PWD/_pkg install |
pascal@6027 | 21 } |
pascal@6027 | 22 |
pascal@6027 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6027 | 24 genpkg_rules() |
pascal@6027 | 25 { |
pascal@6027 | 26 mkdir -p $fs/usr |
pascal@6027 | 27 cp -a $_pkg/etc $fs |
pascal@6027 | 28 cp -a $_pkg/var $fs |
pascal@6027 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@6027 | 30 cp -a $_pkg/usr/lib $fs/usr |
pascal@6027 | 31 } |