wok-undigest rev 364

mv iptraf to wok
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 21 12:17:28 2011 +0200 (2011-07-21)
parents 6225e2596fd5
children 5b4ef5b3ae35
files iptraf/receipt
line diff
     1.1 --- a/iptraf/receipt	Thu Jul 21 12:01:44 2011 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,31 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="iptraf"
     1.7 -VERSION="3.0.0"
     1.8 -CATEGORY="network"
     1.9 -SHORT_DESC="IP Network Monitoring Software."
    1.10 -MAINTAINER="pascal.bellard@slitaz.org"
    1.11 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 -WEB_SITE="http://$PACKAGE.seul.org/"
    1.13 -WGET_URL="ftp://$PACKAGE.seul.org/pub/$PACKAGE/$TARBALL"
    1.14 -DEPENDS="ncurses"
    1.15 -BUILD_DEPENDS="ncurses-dev"
    1.16 -
    1.17 -# Rules to configure and make the package.
    1.18 -compile_rules()
    1.19 -{
    1.20 -	cd $src/src
    1.21 -	mkdir -p $DESTDIR/usr/bin 2> /dev/null
    1.22 -	sed -i 's/ARPHRD_PPP:$/& case ARPHRD_NONE:/' packet.c
    1.23 -	sed -i 's|/local/|/|' Makefile
    1.24 -	make clean &&
    1.25 -	make &&
    1.26 -	cp rvnamed rawtime iptraf $DESTDIR/usr/bin
    1.27 -}
    1.28 -
    1.29 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 -genpkg_rules()
    1.31 -{
    1.32 -	mkdir -p $fs/var/run/iptraf
    1.33 -	cp -a $_pkg/* $fs
    1.34 -}