wok diff nethogs/receipt @ rev 4861

xz: add lzma wrapper
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 03 22:19:14 2010 +0100 (2010-02-03)
parents
children bee79018e13a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nethogs/receipt	Wed Feb 03 22:19:14 2010 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="nethogs"
     1.7 +VERSION="0.7.0"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Small 'net top' tool."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +DEPENDS="ncurses"
    1.12 +BUILD_DEPENDS="ncurses-dev libpcap"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://nethogs.sourceforge.net/"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null
    1.21 +	cd $src
    1.22 +	make 
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/sbin
    1.29 +	cp $src/$PACKAGE $fs/usr/sbin
    1.30 +}
    1.31 +