wok-next view iftopcolor/receipt @ rev 17384
ncurses: do not depends on libtinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 10:02:36 2014 +0100 (2014-11-27) |
parents | |
children | d5aab818505e |
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 }