wok-next view iptraf/receipt @ rev 21569

updated cryptopp (5.6.5 -> 8.2.0)
author Hans-G?nter Theisgen
date Mon Jun 22 16:34:56 2020 +0100 (2020-06-22)
parents 32f49bd14509
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="iptraf"
4 VERSION="3.0.1"
5 CATEGORY="network"
6 SHORT_DESC="IP Network Monitoring Software"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://iptraf.seul.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://iptraf.seul.org/pub/$PACKAGE/$TARBALL"
13 WGET_URL="http://www.penguin.cz/~fojtik/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="glibc-dev ncurses-dev"
17 compile_rules()
18 {
19 cd $src/src
20 mkdir -p $install/usr/bin 2> /dev/null
21 sed -i 's/ARPHRD_PPP:$/& case ARPHRD_NONE:/' packet.c
22 sed -i 's|/local/|/|' Makefile
24 make clean &&
25 make &&
26 cp iptraf $install/usr/bin
27 cp rawtime $install/usr/bin
28 cp rvnamed $install/usr/bin
29 }
31 genpkg_rules()
32 {
33 mkdir -p $fs/var/iptraf
34 mkdir -p $fs/var/log/iptraf
36 cp -a $install/* $fs
38 DEPENDS="ncurses"
39 CONFIG_FILES="/var/iptraf/iptraf.cfg"
40 }
42 post_install()
43 {
44 mkdir -p "$1/var/run/iptraf"
45 }
47 post_remove()
48 {
49 rm -r "$1/var/run/iptraf"
50 }