wok view trafshow/receipt @ rev 21645
updated orc and orc-dev (0.4.18 -> 0.4.29)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 30 08:44:12 2019 +0100 (2019-05-30) |
parents | 3ba8d2c9720d |
children | b7f1bd1b9ac7 |
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 DEPENDS="ncurses libpcap"
14 BUILD_DEPENDS="ncurses-dev libpcap-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -ltinfo"
21 # fix session.c bug
22 sed -i '43d' session.c
24 ./configure \
25 --prefix=/usr \
26 $CONFIGURE_ARGS && make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $fs/etc
33 cp -a $src/$PACKAGE $fs/usr/bin
34 cp -a $src/.trafshow $fs/etc/trafshow
36 # tidy config file and change perms
37 chown root:root $fs/etc/trafshow
38 sed -i 's|*/icmp|#*/icmp|' $fs/etc/trafshow
39 sed -i 's|nfs|#nfs|' $fs/etc/trafshow
40 sed -i 's|513|#513|' $fs/etc/trafshow
41 sed -i 's|514|#514|' $fs/etc/trafshow
42 }