wok-next diff iptraf/receipt @ rev 13605
Up: kmod (11)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Nov 10 19:54:06 2012 +0100 (2012-11-10) |
parents | |
children | 45e32b7f12f9 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/iptraf/receipt Sat Nov 10 19:54:06 2012 +0100 1.3 @@ -0,0 +1,31 @@ 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 +}