wok-6.x view iptraf/receipt @ rev 16410
Up: ntfs-3g (2014.2.15)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Apr 17 11:09:07 2014 +0400 (2014-04-17) |
parents | 45e32b7f12f9 |
children | 17e313b5b9c1 |
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 mkdir -p $DESTDIR/usr/bin 2> /dev/null
21 sed -i 's/ARPHRD_PPP:$/& case ARPHRD_NONE:/' packet.c
22 sed -i 's|/local/|/|' Makefile
23 make clean &&
24 make &&
25 cp rvnamed rawtime iptraf $DESTDIR/usr/bin
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/run/iptraf
32 cp -a $install/* $fs
33 }