wok rev 19194

Add: EtherApe. A graphical network monitor for SliTaz.
author Leonardo Laporte <hackdorte@sapo.pt>
date Mon Jun 06 09:08:05 2016 -0300 (2016-06-06)
parents 2638f54b93f1
children 8c8391016d94
files etherape/description.txt etherape/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/etherape/description.txt	Mon Jun 06 09:08:05 2016 -0300
     1.3 @@ -0,0 +1,8 @@
     1.4 +EtherApe
     1.5 +
     1.6 +EtherApe is a graphical network monitor modeled after etherman. Featuring 
     1.7 +Ethernet, IP, TCP, FDDI, Token Ring and wireless modes, it displays 
     1.8 +network activity graphically. Hosts and links change in size with traffic. 
     1.9 +Color coded protocols display.
    1.10 +
    1.11 +http://etherape.sourceforge.net
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/etherape/receipt	Mon Jun 06 09:08:05 2016 -0300
     2.3 @@ -0,0 +1,51 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="etherape"
     2.7 +VERSION="0.9.14"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="A graphical network monitor and visualization tool."
    2.10 +MAINTAINER="hackdorte@sapo.pt"
    2.11 +LICENSE="GPL2"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="http://etherape.sourceforge.net"
    2.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.15 +TAGS="ip monitoring network tcp vlan wlan"
    2.16 +
    2.17 +DEPENDS="gtk+ libglade libgnome libpcap libgnomeui libtool \
    2.18 +libcrypto libxslt libgnome-keyring ossp-uuid"
    2.19 +
    2.20 +BUILD_DEPENDS="gcc glib-dev glibc-dev libglade-dev libgnome-dev gtk+-dev \
    2.21 +libgnomeui-dev libpcap-dev gnome-doc-utils-dev libcrypto-dev libxslt-dev \
    2.22 +ossp-uuid-dev"
    2.23 +
    2.24 +# Rules to configure and make the package.
    2.25 +compile_rules()
    2.26 +{
    2.27 +./configure \
    2.28 +  --prefix=/usr \
    2.29 +  --libdir=/usr/lib \
    2.30 +  --sysconfdir=/etc \
    2.31 +  --localstatedir=/var/state/$PACKAGE-$VERSION \
    2.32 +  --mandir=/usr/share/man \
    2.33 +  --docdir=/usr/share/doc/$PACKAGE-$VERSION \
    2.34 +  --build=$ARCH-slitaz-linux \
    2.35 +  --disable-scrollkeeper
    2.36 +  make && make DESTDIR=$DESTDIR install
    2.37 +}
    2.38 +
    2.39 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.40 +genpkg_rules()
    2.41 +{
    2.42 +  mkdir -p $fs/usr/bin
    2.43 +  cp -a $install/usr/bin/* $fs/usr/bin
    2.44 +
    2.45 +  mkdir -p $fs/usr/share
    2.46 +  cp -a $install/usr/share/* $fs/usr/share
    2.47 +}
    2.48 +
    2.49 +post_install() 
    2.50 +{
    2.51 +  # The SliTaz use Tazbox.
    2.52 +  sed -i 's/^Exec=.*/Exec=tazbox su dbus-launch etherape/' \
    2.53 +  $1/usr/share/applications/etherape.desktop
    2.54 +}