wok-current view htop/receipt @ rev 24458

updated gnustep-gui and gnustep-gui-dev again (0.27.0 -> 0.29.0)
author Hans-G?nter Theisgen
date Wed Feb 16 09:58:13 2022 +0100 (2022-02-16)
parents f0bfaf36c53f
children 99ef2c49dbf2
line source
1 # SliTaz package receipt.
3 PACKAGE="htop"
4 VERSION="2.2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Interactive process viewer."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://htop.sourceforge.net/"
11 WGET_URL="http://hisham.hm/htop/releases/$VERSION/$TARBALL"
12 TAGS="monitor system"
13 HOST_ARCH="i486 arm"
15 DEPENDS="ncursesw"
16 BUILD_DEPENDS="ncursesw-dev"
18 # Handle cross comilation
19 case "$ARCH" in
20 arm) CROSS_ARGS="--enable-native_affinity=no" ;;
21 esac
23 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - https://github.com/htop-dev/htop/releases 2>/dev/null | \
27 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure \
34 --enable-unicode \
35 $CONFIGURE_ARGS $CROSS_ARGS &&
36 make && make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/bin
44 cp -a $install/usr/bin/* $fs/usr/bin
45 }