wok-6.x view htop/receipt @ rev 18675
syslinux/taziso: get custom config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 06 10:57:10 2015 +0100 (2015-12-06) |
parents | 429355d87af5 |
children | 29be722dd1a2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="htop"
4 VERSION="1.0.3"
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="http://hisham.hm/htop/releases/$VERSION/$TARBALL"
12 TAGS="monitor system"
13 HOST_ARCH="i486 arm"
15 DEPENDS="ncursesw"
16 BUILD_DEPENDS="ncursesw-dev"
18 # Handle cross comilation
19 case "$ARCH" in
20 arm) CROSS_ARGS="--enable-native_affinity=no" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --enable-unicode \
28 $CONFIGURE_ARGS $CROSS_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $install/usr/bin/* $fs/usr/bin
37 }