wok-backports rev 31
Add: htop.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Jun 02 00:33:09 2014 +0200 (2014-06-02) |
parents | dad7a1eb3b3d |
children | 89d132cca45d |
files | htop/receipt htop/stuff/htop.desktop |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/htop/receipt Mon Jun 02 00:33:09 2014 +0200 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="htop" 1.7 +VERSION="1.0.3" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Interactive process viewer." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://htop.sourceforge.net/" 1.14 +WGET_URL="http://hisham.hm/htop/releases/$VERSION/$TARBALL" 1.15 +TAGS="monitor system" 1.16 +HOST_ARCH="i486 arm" 1.17 + 1.18 +DEPENDS="ncursesw" 1.19 +BUILD_DEPENDS="ncursesw-dev" 1.20 + 1.21 +# Handle cross comilation 1.22 +case "$ARCH" in 1.23 + arm) CROSS_ARGS="--enable-native_affinity=no" ;; 1.24 +esac 1.25 + 1.26 +# Rules to configure and make the package. 1.27 +compile_rules() 1.28 +{ 1.29 + ./configure \ 1.30 + --enable-unicode \ 1.31 + $CONFIGURE_ARGS $CROSS_ARGS && 1.32 + make && make install 1.33 +} 1.34 + 1.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 +genpkg_rules() 1.37 +{ 1.38 + mkdir -p $fs/usr/bin 1.39 + cp -a $install/usr/bin/* $fs/usr/bin 1.40 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/htop/stuff/htop.desktop Mon Jun 02 00:33:09 2014 +0200 2.3 @@ -0,0 +1,12 @@ 2.4 +[Desktop Entry] 2.5 +Encoding=UTF-8 2.6 +Version=0.7 2.7 +Name=Htop Processes Viewer 2.8 +Name[pt]=Visualizador de processos Htop 2.9 +Name[pt_BR]=Visualizador de processos Htop 2.10 +Type=Application 2.11 +Comment=Show System Processes 2.12 +Exec=xterm -e htop 2.13 +Icon=htop 2.14 +Categories=ConsoleOnly;System;Application; 2.15 +GenericName=Process Viewer