wok-next annotate nethogs/receipt @ rev 13405
Up frogatto (1.1.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 28 18:22:39 2012 +0200 (2012-09-28) |
parents | 5b44af8c1257 |
children | 6046c764a36c |
rev | line source |
---|---|
paul@4626 | 1 # SliTaz package receipt. |
paul@4626 | 2 |
paul@4626 | 3 PACKAGE="nethogs" |
paul@4626 | 4 VERSION="0.7.0" |
paul@4626 | 5 CATEGORY="network" |
paul@4626 | 6 SHORT_DESC="Small 'net top' tool." |
paul@4626 | 7 MAINTAINER="paul@slitaz.org" |
pascal@5004 | 8 DEPENDS="ncurses gcc-lib-base" |
pascal@10517 | 9 BUILD_DEPENDS="ncurses-dev libpcap libpcap-dev" |
paul@4626 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@4626 | 11 WEB_SITE="http://nethogs.sourceforge.net/" |
paul@4626 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4969 | 13 TAGS="network" |
paul@4626 | 14 |
paul@4626 | 15 # Rules to configure and make the package. |
paul@4626 | 16 compile_rules() |
paul@4626 | 17 { |
paul@4626 | 18 mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null |
paul@4626 | 19 cd $src |
paul@4626 | 20 make |
paul@4626 | 21 } |
paul@4626 | 22 |
paul@4626 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4626 | 24 genpkg_rules() |
paul@4626 | 25 { |
paul@4626 | 26 mkdir -p $fs/usr/sbin |
paul@4626 | 27 cp $src/$PACKAGE $fs/usr/sbin |
paul@4626 | 28 } |
paul@4626 | 29 |