wok diff htop/receipt @ rev 12959

gobby: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 31 20:16:47 2012 +0200 (2012-05-31)
parents c29e8fb7f607
children 2691d73d8c53
line diff
     1.1 --- a/htop/receipt	Thu May 24 21:12:24 2012 +0000
     1.2 +++ b/htop/receipt	Thu May 31 20:16:47 2012 +0200
     1.3 @@ -1,30 +1,36 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="htop"
     1.7 -VERSION="1.0.1"
     1.8 +VERSION="1.0"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Interactive process viewer."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="ncurses"
    1.13 -BUILD_DEPENDS="ncurses-dev"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15  WEB_SITE="http://htop.sourceforge.net/"
    1.16  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.17  TAGS="monitor system"
    1.18 +HOST_ARCH="i486 arm"
    1.19 +
    1.20 +DEPENDS="ncursesw"
    1.21 +BUILD_DEPENDS="ncursesw-dev"
    1.22 +case "$ARCH" in
    1.23 +	arm) CROSS_ARGS="--enable-native_affinity=no" ;;
    1.24 +esac
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -    cd $src
    1.30 -    ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.31 -    make &&
    1.32 -    make DESTDIR=$DESTDIR install
    1.33 +	cd $src
    1.34 +	./configure \
    1.35 +		--enable-unicode \
    1.36 +		$CONFIGURE_ARGS $CROSS_ARGS &&
    1.37 +	make && make install
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -    mkdir -p $fs/usr/bin
    1.44 -    cp -a $_pkg/usr/bin/* $fs/usr/bin
    1.45 -    cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.46 +	mkdir -p $fs/usr/bin
    1.47 +	cp -a $install/usr/bin/* $fs/usr/bin
    1.48 +	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.49  }