wok-stable annotate sysstat/receipt @ rev 8342
Fix: screen doesn't support DESTDIR environnment variable; fix bdep
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Feb 02 05:33:44 2011 +0100 (2011-02-02) |
parents | f5edb5370d25 |
children |
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@6028 | 9 BUILD_DEPENDS="gettext bzip2" |
pascal@6027 | 10 WEB_SITE="http://sebastien.godard.pagesperso-orange.fr/" |
pascal@6027 | 11 WGET_URL="http://pagesperso-orange.fr/sebastien.godard/$TARBALL" |
pascal@6027 | 12 |
pascal@6027 | 13 # Rules to configure and make the package. |
pascal@6027 | 14 compile_rules() |
pascal@6027 | 15 { |
pascal@6027 | 16 cd $src |
pascal@6027 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@6027 | 18 --mandir=/usr/share/man \ |
pascal@6027 | 19 $CONFIGURE_ARGS && |
pascal@6027 | 20 make && |
pascal@6027 | 21 make DESTDIR=$PWD/_pkg install |
pascal@6027 | 22 } |
pascal@6027 | 23 |
pascal@6027 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6027 | 25 genpkg_rules() |
pascal@6027 | 26 { |
pascal@6027 | 27 mkdir -p $fs/usr |
pascal@6027 | 28 cp -a $_pkg/etc $fs |
pascal@6027 | 29 cp -a $_pkg/var $fs |
pascal@6027 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@6027 | 31 cp -a $_pkg/usr/lib $fs/usr |
pascal@6027 | 32 } |