wok-current view iftopcolor/receipt @ rev 18813

python-docopt (update receipt)
author Paul Issott <paul@slitaz.org>
date Thu Jan 14 20:21:12 2016 +0000 (2016-01-14)
parents
children 485540f15da6
line source
1 # SliTaz package receipt.
3 PACKAGE="iftopcolor"
4 VERSION="20140730"
5 CATEGORY="network"
6 SHORT_DESC="Added color bars to iftop."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://github.com/srix/iftopcolor"
11 WGET_URL="git|git://github.com/srix/iftopcolor"
13 DEPENDS="libpcap ncurses"
14 BUILD_DEPENDS="libpcap-dev ncurses-dev git bzip2"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr
21 $CONFIGURE_ARGS
22 make
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/sbin $fs/usr
31 }