wok-next diff htop/receipt @ rev 20630
Up gegl, giflib, graphite2.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 01:47:24 2018 +0300 (2018-04-27) |
parents | c4e53a39395a |
children | d5aab818505e |
line diff
1.1 --- a/htop/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/htop/receipt Fri Apr 27 01:47:24 2018 +0300 1.3 @@ -1,37 +1,34 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="htop" 1.8 VERSION="2.0.2" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Interactive process viewer." 1.11 +SHORT_DESC="Interactive process viewer" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://htop.sourceforge.net/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://htop.sourceforge.net/" 1.18 WGET_URL="http://hisham.hm/htop/releases/$VERSION/$TARBALL" 1.19 -TAGS="monitor system" 1.20 1.21 -DEPENDS="ncurses" 1.22 BUILD_DEPENDS="ncurses-dev" 1.23 1.24 -# Handle cross comilation 1.25 -case "$ARCH" in 1.26 - arm) CROSS_ARGS="--enable-native_affinity=no" ;; 1.27 -esac 1.28 +compile_rules() { 1.29 + case "$ARCH" in 1.30 + arm) ARCH_ARGS="--enable-native_affinity=no";; 1.31 + esac 1.32 1.33 -# Rules to configure and make the package. 1.34 -compile_rules() 1.35 -{ 1.36 ./configure \ 1.37 --enable-unicode \ 1.38 - $CONFIGURE_ARGS $CROSS_ARGS && 1.39 - make && make install 1.40 - 1.41 + $ARCH_ARGS \ 1.42 + $CONFIGURE_ARGS && 1.43 + fix libtool && 1.44 + make && 1.45 + make install 1.46 } 1.47 1.48 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.49 -genpkg_rules() 1.50 -{ 1.51 - mkdir -p $fs/usr/bin 1.52 - cp -a $install/usr/bin/* $fs/usr/bin 1.53 +genpkg_rules() { 1.54 + copy @std 1.55 + DEPENDS="ncurses" 1.56 + TAGS="monitor system" 1.57 }