wok-current view iftopcolor/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
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 }