wok-next annotate htop/receipt @ rev 14857
Up: libvncserver (0.9.9), again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 20 13:14:04 2013 +0000 (2013-07-20) |
parents | 525a752f75b6 |
children | 7896f0694ef6 |
rev | line source |
---|---|
pankso@7 | 1 # SliTaz package receipt. |
pankso@7 | 2 |
pankso@7 | 3 PACKAGE="htop" |
devl547@13800 | 4 VERSION="1.0.2" |
pankso@202 | 5 CATEGORY="system-tools" |
pankso@7 | 6 SHORT_DESC="Interactive process viewer." |
pankso@7 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@7 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@7 | 9 WEB_SITE="http://htop.sourceforge.net/" |
pankso@7 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4937 | 11 TAGS="monitor system" |
pankso@12923 | 12 HOST_ARCH="i486 arm" |
pankso@12923 | 13 |
pankso@12923 | 14 DEPENDS="ncursesw" |
pankso@12923 | 15 BUILD_DEPENDS="ncursesw-dev" |
pankso@12923 | 16 case "$ARCH" in |
pankso@12923 | 17 arm) CROSS_ARGS="--enable-native_affinity=no" ;; |
pankso@12923 | 18 esac |
pankso@7 | 19 |
pankso@7 | 20 # Rules to configure and make the package. |
pankso@7 | 21 compile_rules() |
pankso@7 | 22 { |
pankso@12923 | 23 cd $src |
pankso@12923 | 24 ./configure \ |
pankso@12923 | 25 --enable-unicode \ |
pankso@12923 | 26 $CONFIGURE_ARGS $CROSS_ARGS && |
pankso@12923 | 27 make && make install |
pankso@7 | 28 } |
pankso@7 | 29 |
pankso@7 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7 | 31 genpkg_rules() |
pankso@7 | 32 { |
pankso@12923 | 33 mkdir -p $fs/usr/bin |
pankso@12923 | 34 cp -a $install/usr/bin/* $fs/usr/bin |
pankso@12923 | 35 cp -a $install/usr/share/pixmaps $fs/usr/share |
pankso@7 | 36 } |