wok-next view trafshow/receipt @ rev 21640
updated fbgrab (1.2 -> 1.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 15:42:40 2020 +0100 (2020-06-26) |
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 }