wok-current rev 24650
updated htop (2.2.0 -> 3.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 16:26:13 2022 +0100 (2022-03-10) |
parents | 699084c53652 |
children | 609e2d2bfc98 |
files | htop/description.txt htop/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/htop/description.txt Thu Mar 10 16:26:13 2022 +0100 1.3 @@ -0,0 +1,3 @@ 1.4 +Htop is a cross-platform interactive process viewer. 1.5 +It is a text-mode application (for console or X terminals) 1.6 +and requires ncurses.
2.1 --- a/htop/receipt Thu Mar 10 15:48:19 2022 +0100 2.2 +++ b/htop/receipt Thu Mar 10 16:26:13 2022 +0100 2.3 @@ -1,21 +1,22 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="htop" 2.7 -VERSION="2.2.0" 2.8 +VERSION="3.1.2" 2.9 CATEGORY="system-tools" 2.10 +TAGS="monitor system" 2.11 SHORT_DESC="Interactive process viewer." 2.12 MAINTAINER="pankso@slitaz.org" 2.13 LICENSE="GPL2" 2.14 +WEB_SITE="https://htop.dev/" 2.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.16 -WEB_SITE="http://htop.sourceforge.net/" 2.17 -WGET_URL="http://hisham.hm/htop/releases/$VERSION/$TARBALL" 2.18 -TAGS="monitor system" 2.19 +WGET_URL="https://github.com/htop-dev/$PACKAGE/archive/$VERSION.tar.gz" 2.20 + 2.21 +DEPENDS="libcap ncursesw" 2.22 +BUILD_DEPENDS="automake libcap-dev libtool linux-api-headers ncursesw-dev" 2.23 + 2.24 HOST_ARCH="i486 arm" 2.25 2.26 -DEPENDS="ncursesw" 2.27 -BUILD_DEPENDS="ncursesw-dev" 2.28 - 2.29 -# Handle cross comilation 2.30 +# Handle cross compilation 2.31 case "$ARCH" in 2.32 arm) CROSS_ARGS="--enable-native_affinity=no" ;; 2.33 esac 2.34 @@ -30,16 +31,17 @@ 2.35 # Rules to configure and make the package. 2.36 compile_rules() 2.37 { 2.38 - ./configure \ 2.39 - --enable-unicode \ 2.40 - $CONFIGURE_ARGS $CROSS_ARGS && 2.41 - make && make install 2.42 - 2.43 + ./autogen.sh && 2.44 + ./configure \ 2.45 + --enable-unicode \ 2.46 + $CONFIGURE_ARGS \ 2.47 + $CROSS_ARGS && 2.48 + make && 2.49 + make install 2.50 } 2.51 2.52 # Rules to gen a SliTaz package suitable for Tazpkg. 2.53 genpkg_rules() 2.54 { 2.55 - mkdir -p $fs/usr/bin 2.56 - cp -a $install/usr/bin/* $fs/usr/bin 2.57 + cook_copy_folders bin 2.58 }