wok-6.x annotate iptraf/receipt @ rev 11070
Up: twisted to 11.0.0. Twisted-conch, twisted-web, and twisted-words is now in twisted.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 01:15:21 2011 +0000 (2011-10-17) |
parents | |
children | 45e32b7f12f9 |
rev | line source |
---|---|
pascal@10906 | 1 # SliTaz package receipt. |
pascal@10906 | 2 |
pascal@10906 | 3 PACKAGE="iptraf" |
pascal@10906 | 4 VERSION="3.0.0" |
pascal@10906 | 5 CATEGORY="network" |
pascal@10906 | 6 SHORT_DESC="IP Network Monitoring Software." |
pascal@10906 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@10906 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@10906 | 9 WEB_SITE="http://$PACKAGE.seul.org/" |
pascal@10906 | 10 WGET_URL="ftp://$PACKAGE.seul.org/pub/$PACKAGE/$TARBALL" |
pascal@10906 | 11 DEPENDS="ncurses" |
pascal@10906 | 12 BUILD_DEPENDS="ncurses-dev" |
pascal@10906 | 13 |
pascal@10906 | 14 # Rules to configure and make the package. |
pascal@10906 | 15 compile_rules() |
pascal@10906 | 16 { |
pascal@10906 | 17 cd $src/src |
pascal@10906 | 18 mkdir -p $DESTDIR/usr/bin 2> /dev/null |
pascal@10906 | 19 sed -i 's/ARPHRD_PPP:$/& case ARPHRD_NONE:/' packet.c |
pascal@10906 | 20 sed -i 's|/local/|/|' Makefile |
pascal@10906 | 21 make clean && |
pascal@10906 | 22 make && |
pascal@10906 | 23 cp rvnamed rawtime iptraf $DESTDIR/usr/bin |
pascal@10906 | 24 } |
pascal@10906 | 25 |
pascal@10906 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@10906 | 27 genpkg_rules() |
pascal@10906 | 28 { |
pascal@10906 | 29 mkdir -p $fs/var/run/iptraf |
pascal@10906 | 30 cp -a $_pkg/* $fs |
pascal@10906 | 31 } |