wok-next view trafshow/receipt @ rev 21078

Update png and Xorg in dependencies.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 04:52:35 2018 +0200 (2018-12-22)
parents 8e1b2a143eb3
children
line source
1 # SliTaz package receipt.
3 PACKAGE="trafshow"
4 VERSION="5.2.3"
5 CATEGORY="network"
6 SHORT_DESC="Full screen network traffic monitor"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="https://web.archive.org/web/20130707021442/soft.risp.ru/trafshow/index_en.shtml"
11 WGET_URL="http://fossies.org/linux/misc/$TARBALL"
13 BUILD_DEPENDS="ncurses-dev libpcap-dev"
15 compile_rules() {
16 # fix session.c bug
17 sed -i '43d' session.c
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make
23 }
25 genpkg_rules() {
26 mkdir -p $fs/usr/bin $fs/etc
27 cp -a $src/$PACKAGE $fs/usr/bin
28 cp -a $src/.trafshow $fs/etc/trafshow
30 # tidy config file and change perms
31 chown root:root $fs/etc/trafshow
32 sed -i 's|*/icmp|#*/icmp|; s|nfs|#nfs|; s|513|#513|; s|514|#514|' \
33 $fs/etc/trafshow
34 DEPENDS="ncurses libpcap"
35 }