wok annotate htop/receipt @ rev 19115

tk, nano, htop, gawk: fix arm build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 07 15:28:14 2016 +0200 (2016-05-07)
parents 0f2b4a8c631e
children 2f45bddbfd08
rev   line source
pankso@7 1 # SliTaz package receipt.
pankso@7 2
pankso@7 3 PACKAGE="htop"
devl547@18882 4 VERSION="2.0.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
pankso@7 23 # Rules to configure and make the package.
pankso@7 24 compile_rules()
pankso@7 25 {
pascal@19115 26 # waiting the a real fix...
pascal@19115 27 sed -i "s|$am_aux_dir/missing|$src/missing|" configure
pankso@12923 28 ./configure \
pankso@12923 29 --enable-unicode \
pankso@12923 30 $CONFIGURE_ARGS $CROSS_ARGS &&
pascal@19115 31 make && make install
pascal@18883 32
pankso@7 33 }
pankso@7 34
pankso@7 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7 36 genpkg_rules()
pankso@7 37 {
pankso@12923 38 mkdir -p $fs/usr/bin
pankso@12923 39 cp -a $install/usr/bin/* $fs/usr/bin
pankso@7 40 }