wok-current rev 17078
Add tiptop
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Aug 24 15:12:31 2014 +0100 (2014-08-24) |
parents | 6e22e38e70da |
children | 8a8d742e992f |
files | tiptop/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tiptop/receipt Sun Aug 24 15:12:31 2014 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="tiptop" 1.7 +VERSION="2.2" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="Tiptop is a performance monitoring tool for Linux." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://tiptop.gforge.inria.fr/" 1.13 +WGET_URL="http://tiptop.gforge.inria.fr/releases/$TARBALL" 1.14 + 1.15 +DEPENDS="ncurses libxml2" 1.16 +BUILD_DEPENDS="ncurses-dev libxml2-dev bison flex m4" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + ./configure --prefix=/usr 1.22 + make 1.23 + make install 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr $fs/home/tux # config file 1.30 + cp -a $install/usr/bin $fs/usr 1.31 + cp -a $src/tiptoprc $fs/home/tux/.tiptoprc 1.32 + chown tux.users $fs/home/tux/.tiptoprc 1.33 +} 1.34 +