wok view iptraf/receipt @ rev 14602
xorg-libXxf86vm: down 1.1.2 (ver. 1.1.3 yet not exists here)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed May 29 02:19:36 2013 +0000 (2013-05-29) |
parents | |
children | 45e32b7f12f9 |
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/var/run/iptraf
30 cp -a $_pkg/* $fs
31 }