wok-4.x view iptraf/receipt @ rev 12477

Up openssl 1.1.1n (bump packages curl, git, wget, python), up cherokee 1.2.104 and bdeps (automake, openldap, cyrus-sasl)
author Stanislas Leduc <shann@slitaz.org>
date Sun Apr 02 14:34:44 2023 +0000 (14 months ago)
parents
children
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 }