wok diff htop/receipt @ rev 25283

updated roundup (1.6.1 -> 2.2.0)
author Hans-G?nter Theisgen
date Mon Jul 18 15:58:43 2022 +0100 (2022-07-18)
parents 370da83187ab
children 20ad21d5532c
line diff
     1.1 --- a/htop/receipt	Fri Feb 04 09:24:50 2022 +0000
     1.2 +++ b/htop/receipt	Mon Jul 18 15:58:43 2022 +0100
     1.3 @@ -1,21 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="htop"
     1.7 -VERSION="2.2.0"
     1.8 +VERSION="3.1.2"
     1.9  CATEGORY="system-tools"
    1.10 +TAGS="monitor system"
    1.11  SHORT_DESC="Interactive process viewer."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://htop.dev/"
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://htop.sourceforge.net/"
    1.17 -WGET_URL="http://hisham.hm/htop/releases/$VERSION/$TARBALL"
    1.18 -TAGS="monitor system"
    1.19 +WGET_URL="https://github.com/htop-dev/$PACKAGE/archive/$VERSION.tar.gz"
    1.20 +
    1.21 +DEPENDS="libcap ncursesw"
    1.22 +BUILD_DEPENDS="automake libcap-dev libtool linux-api-headers ncursesw-dev"
    1.23 +
    1.24  HOST_ARCH="i486 arm"
    1.25  
    1.26 -DEPENDS="ncursesw"
    1.27 -BUILD_DEPENDS="ncursesw-dev"
    1.28 -
    1.29 -# Handle cross comilation
    1.30 +# Handle cross compilation
    1.31  case "$ARCH" in
    1.32  	arm) CROSS_ARGS="--enable-native_affinity=no" ;;
    1.33  esac
    1.34 @@ -30,16 +31,17 @@
    1.35  # Rules to configure and make the package.
    1.36  compile_rules()
    1.37  {
    1.38 -	./configure \
    1.39 -		--enable-unicode \
    1.40 -		$CONFIGURE_ARGS $CROSS_ARGS &&
    1.41 -	make && make install
    1.42 -	
    1.43 +	./autogen.sh &&
    1.44 +	./configure			\
    1.45 +		--enable-unicode	\
    1.46 +		$CONFIGURE_ARGS		\
    1.47 +		$CROSS_ARGS &&
    1.48 +	make &&
    1.49 +	make install
    1.50  }
    1.51  
    1.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.53  genpkg_rules()
    1.54  {
    1.55 -	mkdir -p $fs/usr/bin
    1.56 -	cp -a $install/usr/bin/* $fs/usr/bin
    1.57 +	cook_copy_folders	bin
    1.58  }