wok view iptraf/receipt @ rev 15571

Up lxc (0.9.0) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 26 09:03:33 2013 +0000 (2013-11-26)
parents 04d689df32af
children de49f29b101e
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://$PACKAGE.seul.org/"
10 WGET_URL="ftp://$PACKAGE.seul.org/pub/$PACKAGE/$TARBALL"
11 DEPENDS="ncurses"
12 BUILD_DEPENDS="ncurses-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/src
18 mkdir -p $DESTDIR/usr/bin 2> /dev/null
19 sed -i 's/ARPHRD_PPP:$/& case ARPHRD_NONE:/' packet.c
20 sed -i 's|/local/|/|' Makefile
21 make clean &&
22 make &&
23 cp rvnamed rawtime iptraf $DESTDIR/usr/bin
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/run/iptraf
30 cp -a $install/* $fs
31 }