wok-next view htop/receipt @ rev 15002

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 21:12:16 2013 +0000 (2013-08-10)
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 }