wok view htop/receipt @ rev 24956
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:35:24 2022 +0100 (2022-04-23) |
parents | 370da83187ab |
children | 20ad21d5532c |
line source
1 # SliTaz package receipt.
3 PACKAGE="htop"
4 VERSION="3.1.2"
5 CATEGORY="system-tools"
6 TAGS="monitor system"
7 SHORT_DESC="Interactive process viewer."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://htop.dev/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/htop-dev/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="libcap ncursesw"
15 BUILD_DEPENDS="automake libcap-dev libtool linux-api-headers ncursesw-dev"
17 HOST_ARCH="i486 arm"
19 # Handle cross compilation
20 case "$ARCH" in
21 arm) CROSS_ARGS="--enable-native_affinity=no" ;;
22 esac
24 # What is the latest version available today?
25 current_version()
26 {
27 wget -O - https://github.com/htop-dev/htop/releases 2>/dev/null | \
28 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ./autogen.sh &&
35 ./configure \
36 --enable-unicode \
37 $CONFIGURE_ARGS \
38 $CROSS_ARGS &&
39 make &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 cook_copy_folders bin
47 }