wok-current view htop/receipt @ rev 14900

Add firmware-mod-kit
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 31 11:20:11 2013 +0200 (2013-07-31)
parents 525a752f75b6
children 7896f0694ef6
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://htop.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="monitor system"
12 HOST_ARCH="i486 arm"
14 DEPENDS="ncursesw"
15 BUILD_DEPENDS="ncursesw-dev"
16 case "$ARCH" in
17 arm) CROSS_ARGS="--enable-native_affinity=no" ;;
18 esac
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --enable-unicode \
26 $CONFIGURE_ARGS $CROSS_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $install/usr/bin/* $fs/usr/bin
35 cp -a $install/usr/share/pixmaps $fs/usr/share
36 }