wok-current annotate tiptop/receipt @ rev 17078
Add tiptop
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Aug 24 15:12:31 2014 +0100 (2014-08-24) |
parents | |
children | 633aff33b052 |
rev | line source |
---|---|
paul@17078 | 1 # SliTaz package receipt. |
paul@17078 | 2 |
paul@17078 | 3 PACKAGE="tiptop" |
paul@17078 | 4 VERSION="2.2" |
paul@17078 | 5 CATEGORY="utilities" |
paul@17078 | 6 SHORT_DESC="Tiptop is a performance monitoring tool for Linux." |
paul@17078 | 7 MAINTAINER="paul@slitaz.org" |
paul@17078 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@17078 | 9 WEB_SITE="http://tiptop.gforge.inria.fr/" |
paul@17078 | 10 WGET_URL="http://tiptop.gforge.inria.fr/releases/$TARBALL" |
paul@17078 | 11 |
paul@17078 | 12 DEPENDS="ncurses libxml2" |
paul@17078 | 13 BUILD_DEPENDS="ncurses-dev libxml2-dev bison flex m4" |
paul@17078 | 14 |
paul@17078 | 15 # Rules to configure and make the package. |
paul@17078 | 16 compile_rules() |
paul@17078 | 17 { |
paul@17078 | 18 ./configure --prefix=/usr |
paul@17078 | 19 make |
paul@17078 | 20 make install |
paul@17078 | 21 } |
paul@17078 | 22 |
paul@17078 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17078 | 24 genpkg_rules() |
paul@17078 | 25 { |
paul@17078 | 26 mkdir -p $fs/usr $fs/home/tux # config file |
paul@17078 | 27 cp -a $install/usr/bin $fs/usr |
paul@17078 | 28 cp -a $src/tiptoprc $fs/home/tux/.tiptoprc |
paul@17078 | 29 chown tux.users $fs/home/tux/.tiptoprc |
paul@17078 | 30 } |
paul@17078 | 31 |