wok annotate htop/receipt @ rev 24361
glibmm, glibmm-dev: fix Private:gobj()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 04 09:24:50 2022 +0000 (2022-02-04) |
parents | f0bfaf36c53f |
children | 99ef2c49dbf2 |
rev | line source |
---|---|
pankso@7 | 1 # SliTaz package receipt. |
pankso@7 | 2 |
pankso@7 | 3 PACKAGE="htop" |
Hans-G?nter@20647 | 4 VERSION="2.2.0" |
pankso@202 | 5 CATEGORY="system-tools" |
pankso@7 | 6 SHORT_DESC="Interactive process viewer." |
pankso@7 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pankso@7 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@7 | 10 WEB_SITE="http://htop.sourceforge.net/" |
erjo@16728 | 11 WGET_URL="http://hisham.hm/htop/releases/$VERSION/$TARBALL" |
jozee@4937 | 12 TAGS="monitor system" |
pankso@12923 | 13 HOST_ARCH="i486 arm" |
pankso@12923 | 14 |
pankso@12923 | 15 DEPENDS="ncursesw" |
pankso@12923 | 16 BUILD_DEPENDS="ncursesw-dev" |
pankso@16505 | 17 |
pankso@16505 | 18 # Handle cross comilation |
pankso@12923 | 19 case "$ARCH" in |
pankso@12923 | 20 arm) CROSS_ARGS="--enable-native_affinity=no" ;; |
pankso@12923 | 21 esac |
pankso@7 | 22 |
pascal@24361 | 23 # What is the latest version available today? |
pascal@24361 | 24 current_version() |
pascal@24361 | 25 { |
pascal@24361 | 26 wget -O - https://github.com/htop-dev/htop/releases 2>/dev/null | \ |
pascal@24361 | 27 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24361 | 28 } |
pascal@24361 | 29 |
pankso@7 | 30 # Rules to configure and make the package. |
pankso@7 | 31 compile_rules() |
pankso@7 | 32 { |
pankso@12923 | 33 ./configure \ |
pankso@12923 | 34 --enable-unicode \ |
pankso@12923 | 35 $CONFIGURE_ARGS $CROSS_ARGS && |
pascal@19115 | 36 make && make install |
pascal@18883 | 37 |
pankso@7 | 38 } |
pankso@7 | 39 |
pankso@7 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7 | 41 genpkg_rules() |
pankso@7 | 42 { |
pankso@12923 | 43 mkdir -p $fs/usr/bin |
pankso@12923 | 44 cp -a $install/usr/bin/* $fs/usr/bin |
pankso@7 | 45 } |