wok-current annotate htop/receipt @ rev 4326
Fix: build notecase without gtksourceview
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Sep 30 00:30:34 2009 +0200 (2009-09-30) |
parents | 484f8f7b44bf |
children | c6ccd6bc43b1 |
rev | line source |
---|---|
pankso@7 | 1 # SliTaz package receipt. |
pankso@7 | 2 |
pankso@7 | 3 PACKAGE="htop" |
erjo@1390 | 4 VERSION="0.8" |
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" |
pankso@7 | 13 |
pankso@7 | 14 # Rules to configure and make the package. |
pankso@7 | 15 compile_rules() |
pankso@7 | 16 { |
pankso@7 | 17 cd $src |
pascal@1439 | 18 ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1439 | 19 make && |
pankso@7 | 20 make DESTDIR=$PWD/_pkg install |
pankso@7 | 21 } |
pankso@7 | 22 |
pankso@7 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7 | 24 genpkg_rules() |
pankso@7 | 25 { |
pankso@7 | 26 mkdir -p $fs/usr/bin $fs/usr/share |
pankso@7 | 27 cp -a $_pkg/usr/bin/* $fs/usr/bin |
pankso@7 | 28 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@7 | 29 strip -s $fs/usr/bin/* |
pankso@7 | 30 } |