wok-6.x annotate htop/receipt @ rev 15479

python-qrcode: update bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 10 10:36:42 2013 +0000 (2013-11-10)
parents 2691d73d8c53
children 429355d87af5
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"
pascal@15002 8 LICENSE="GPL2"
pankso@7 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@7 10 WEB_SITE="http://htop.sourceforge.net/"
pankso@7 11 WGET_URL="$SF_MIRROR/$PACKAGE/$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@12923 17 case "$ARCH" in
pankso@12923 18 arm) CROSS_ARGS="--enable-native_affinity=no" ;;
pankso@12923 19 esac
pankso@7 20
pankso@7 21 # Rules to configure and make the package.
pankso@7 22 compile_rules()
pankso@7 23 {
pankso@12923 24 cd $src
pankso@12923 25 ./configure \
pankso@12923 26 --enable-unicode \
pankso@12923 27 $CONFIGURE_ARGS $CROSS_ARGS &&
pankso@12923 28 make && make install
pankso@7 29 }
pankso@7 30
pankso@7 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7 32 genpkg_rules()
pankso@7 33 {
pankso@12923 34 mkdir -p $fs/usr/bin
pankso@12923 35 cp -a $install/usr/bin/* $fs/usr/bin
pankso@12923 36 cp -a $install/usr/share/pixmaps $fs/usr/share
pankso@7 37 }