wok-next diff 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 diff
1.1 --- a/trafshow/receipt Sat Sep 01 16:21:51 2018 +0300 1.2 +++ b/trafshow/receipt Sat Dec 22 04:52:35 2018 +0200 1.3 @@ -3,38 +3,33 @@ 1.4 PACKAGE="trafshow" 1.5 VERSION="5.2.3" 1.6 CATEGORY="network" 1.7 -SHORT_DESC="Full screen network traffic monitor." 1.8 +SHORT_DESC="Full screen network traffic monitor" 1.9 MAINTAINER="paul@slitaz.org" 1.10 LICENSE="BSD" 1.11 TARBALL="$PACKAGE-$VERSION.tgz" 1.12 WEB_SITE="https://web.archive.org/web/20130707021442/soft.risp.ru/trafshow/index_en.shtml" 1.13 WGET_URL="http://fossies.org/linux/misc/$TARBALL" 1.14 1.15 -DEPENDS="ncurses libpcap" 1.16 BUILD_DEPENDS="ncurses-dev libpcap-dev" 1.17 1.18 -# Rules to configure and make the package. 1.19 -compile_rules() 1.20 -{ 1.21 +compile_rules() { 1.22 # fix session.c bug 1.23 sed -i '43d' session.c 1.24 1.25 ./configure \ 1.26 --prefix=/usr \ 1.27 - $CONFIGURE_ARGS && make 1.28 + $CONFIGURE_ARGS && 1.29 + make 1.30 } 1.31 1.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 -genpkg_rules() 1.34 -{ 1.35 +genpkg_rules() { 1.36 mkdir -p $fs/usr/bin $fs/etc 1.37 cp -a $src/$PACKAGE $fs/usr/bin 1.38 cp -a $src/.trafshow $fs/etc/trafshow 1.39 1.40 # tidy config file and change perms 1.41 chown root:root $fs/etc/trafshow 1.42 - sed -i 's|*/icmp|#*/icmp|' $fs/etc/trafshow 1.43 - sed -i 's|nfs|#nfs|' $fs/etc/trafshow 1.44 - sed -i 's|513|#513|' $fs/etc/trafshow 1.45 - sed -i 's|514|#514|' $fs/etc/trafshow 1.46 + sed -i 's|*/icmp|#*/icmp|; s|nfs|#nfs|; s|513|#513|; s|514|#514|' \ 1.47 + $fs/etc/trafshow 1.48 + DEPENDS="ncurses libpcap" 1.49 }