wok-next annotate htop/receipt @ rev 8190

imported patch toolchain/gmp.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents 23cd2d928eed
children 02bbaa9d12ba
rev   line source
pankso@7 1 # SliTaz package receipt.
pankso@7 2
pankso@7 3 PACKAGE="htop"
slaxemulator@7885 4 VERSION="0.9"
pankso@202 5 CATEGORY="system-tools"
pankso@7 6 SHORT_DESC="Interactive process viewer."
pankso@7 7 MAINTAINER="pankso@slitaz.org"
pankso@7 8 DEPENDS="ncurses"
pascal@1439 9 BUILD_DEPENDS="ncurses-dev"
pankso@7 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@7 11 WEB_SITE="http://htop.sourceforge.net/"
pankso@7 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4937 13 TAGS="monitor system"
pankso@7 14
pankso@7 15 # Rules to configure and make the package.
pankso@7 16 compile_rules()
pankso@7 17 {
pankso@7 18 cd $src
pascal@1439 19 ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1439 20 make &&
pankso@7 21 make DESTDIR=$PWD/_pkg install
pankso@7 22 }
pankso@7 23
pankso@7 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7 25 genpkg_rules()
pankso@7 26 {
pankso@7 27 mkdir -p $fs/usr/bin $fs/usr/share
pankso@7 28 cp -a $_pkg/usr/bin/* $fs/usr/bin
pankso@7 29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
pankso@7 30 strip -s $fs/usr/bin/*
pankso@7 31 }