wok-6.x view iptraf/receipt @ rev 18919

brotli: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 24 16:56:01 2016 +0100 (2016-02-24)
parents 17e313b5b9c1
children 5f489761d0c4
line source
1 # SliTaz package receipt.
3 PACKAGE="iptraf"
4 VERSION="3.0.0"
5 CATEGORY="network"
6 SHORT_DESC="IP Network Monitoring Software."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://$PACKAGE.seul.org/"
11 WGET_URL="ftp://$PACKAGE.seul.org/pub/$PACKAGE/$TARBALL"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/src
20 sed -i 's/lncurses/& -ltinfo/' Makefile
21 mkdir -p $DESTDIR/usr/bin 2> /dev/null
22 sed -i 's/ARPHRD_PPP:$/& case ARPHRD_NONE:/' packet.c
23 sed -i 's|/local/|/|' Makefile
24 make clean &&
25 make &&
26 cp rvnamed rawtime iptraf $DESTDIR/usr/bin
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/run/iptraf
33 cp -a $install/* $fs
34 }