wok-next view nethogs/receipt @ rev 14117

dnsmasq: add DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 25 17:17:17 2013 +0100 (2013-02-25)
parents 54cef349f3b7
children 23c3aed67cd9
line source
1 # SliTaz package receipt.
3 PACKAGE="nethogs"
4 VERSION="0.8.0"
5 CATEGORY="network"
6 SHORT_DESC="Small 'net top' tool."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="ncurses gcc-lib-base libpcap"
9 BUILD_DEPENDS="ncurses-dev libpcap libpcap-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://nethogs.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="network"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null
19 cd $src
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/sbin
27 cp $src/$PACKAGE $fs/usr/sbin
28 }