wok view iftopcolor/receipt @ rev 19940
liboping: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 30 17:53:19 2017 +0200 (2017-04-30) |
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 }