# HG changeset patch # User Hans-G?nter Theisgen # Date 1646925973 -3600 # Node ID 99ef2c49dbf223f9ac32d4aa5b830cb2906a61ad # Parent 699084c53652ef48517d9aba054eec76352f57d3 updated htop (2.2.0 -> 3.1.2) diff -r 699084c53652 -r 99ef2c49dbf2 htop/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/htop/description.txt Thu Mar 10 16:26:13 2022 +0100 @@ -0,0 +1,3 @@ +Htop is a cross-platform interactive process viewer. +It is a text-mode application (for console or X terminals) +and requires ncurses. diff -r 699084c53652 -r 99ef2c49dbf2 htop/receipt --- a/htop/receipt Thu Mar 10 15:48:19 2022 +0100 +++ b/htop/receipt Thu Mar 10 16:26:13 2022 +0100 @@ -1,21 +1,22 @@ # SliTaz package receipt. PACKAGE="htop" -VERSION="2.2.0" +VERSION="3.1.2" CATEGORY="system-tools" +TAGS="monitor system" SHORT_DESC="Interactive process viewer." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://htop.dev/" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://htop.sourceforge.net/" -WGET_URL="http://hisham.hm/htop/releases/$VERSION/$TARBALL" -TAGS="monitor system" +WGET_URL="https://github.com/htop-dev/$PACKAGE/archive/$VERSION.tar.gz" + +DEPENDS="libcap ncursesw" +BUILD_DEPENDS="automake libcap-dev libtool linux-api-headers ncursesw-dev" + HOST_ARCH="i486 arm" -DEPENDS="ncursesw" -BUILD_DEPENDS="ncursesw-dev" - -# Handle cross comilation +# Handle cross compilation case "$ARCH" in arm) CROSS_ARGS="--enable-native_affinity=no" ;; esac @@ -30,16 +31,17 @@ # Rules to configure and make the package. compile_rules() { - ./configure \ - --enable-unicode \ - $CONFIGURE_ARGS $CROSS_ARGS && - make && make install - + ./autogen.sh && + ./configure \ + --enable-unicode \ + $CONFIGURE_ARGS \ + $CROSS_ARGS && + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - cp -a $install/usr/bin/* $fs/usr/bin + cook_copy_folders bin }