wok view htop/receipt @ rev 15974

libgpg-error: add to ARM arch
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 28 18:49:26 2014 +0100 (2014-02-28)
parents 2691d73d8c53
children 429355d87af5
line source
1 # SliTaz package receipt.
3 PACKAGE="htop"
4 VERSION="1.0.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Interactive process viewer."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://htop.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="monitor system"
13 HOST_ARCH="i486 arm"
15 DEPENDS="ncursesw"
16 BUILD_DEPENDS="ncursesw-dev"
17 case "$ARCH" in
18 arm) CROSS_ARGS="--enable-native_affinity=no" ;;
19 esac
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 ./configure \
26 --enable-unicode \
27 $CONFIGURE_ARGS $CROSS_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $install/usr/bin/* $fs/usr/bin
36 cp -a $install/usr/share/pixmaps $fs/usr/share
37 }