wok annotate nethogs/receipt @ rev 14641
hg merge
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 02 16:44:25 2013 +0000 (2013-06-02) |
parents | 54cef349f3b7 |
children | 23c3aed67cd9 |
rev | line source |
---|---|
paul@4626 | 1 # SliTaz package receipt. |
paul@4626 | 2 |
paul@4626 | 3 PACKAGE="nethogs" |
paul@13921 | 4 VERSION="0.8.0" |
paul@4626 | 5 CATEGORY="network" |
paul@4626 | 6 SHORT_DESC="Small 'net top' tool." |
paul@4626 | 7 MAINTAINER="paul@slitaz.org" |
paul@13921 | 8 DEPENDS="ncurses gcc-lib-base libpcap" |
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 |