wok-current rev 16963
Add iftopcolor
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Wed Jul 30 19:55:20 2014 +0100 (2014-07-30) |
parents | 8f6cb9be79c1 |
children | c2ccc297128f |
files | iftopcolor/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/iftopcolor/receipt Wed Jul 30 19:55:20 2014 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="iftopcolor" 1.7 +VERSION="20140730" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Added color bars to iftop." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="https://github.com/srix/iftopcolor" 1.14 +WGET_URL="git|git://github.com/srix/iftopcolor" 1.15 + 1.16 +DEPENDS="libpcap ncurses" 1.17 +BUILD_DEPENDS="libpcap-dev ncurses-dev git bzip2" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + ./configure --prefix=/usr 1.24 + $CONFIGURE_ARGS 1.25 + make 1.26 + make DESTDIR=$DESTDIR install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr 1.33 + cp -a $install/usr/sbin $fs/usr 1.34 +} 1.35 +