# HG changeset patch # User Paul Issott # Date 1406746520 -3600 # Node ID 9892830afb57c3d6e4a38891045b05af927790cc # Parent 8f6cb9be79c13bd930953dc1dc1a675c9c8fe16c Add iftopcolor diff -r 8f6cb9be79c1 -r 9892830afb57 iftopcolor/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/iftopcolor/receipt Wed Jul 30 19:55:20 2014 +0100 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="iftopcolor" +VERSION="20140730" +CATEGORY="network" +SHORT_DESC="Added color bars to iftop." +MAINTAINER="paul@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="https://github.com/srix/iftopcolor" +WGET_URL="git|git://github.com/srix/iftopcolor" + +DEPENDS="libpcap ncurses" +BUILD_DEPENDS="libpcap-dev ncurses-dev git bzip2" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr + $CONFIGURE_ARGS + make + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/sbin $fs/usr +} +