wok-current diff etherape/receipt @ 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 | |
children | 174738f4e9f9 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/etherape/receipt Mon Jun 06 09:08:05 2016 -0300 1.3 @@ -0,0 +1,51 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="etherape" 1.7 +VERSION="0.9.14" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="A graphical network monitor and visualization tool." 1.10 +MAINTAINER="hackdorte@sapo.pt" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://etherape.sourceforge.net" 1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.15 +TAGS="ip monitoring network tcp vlan wlan" 1.16 + 1.17 +DEPENDS="gtk+ libglade libgnome libpcap libgnomeui libtool \ 1.18 +libcrypto libxslt libgnome-keyring ossp-uuid" 1.19 + 1.20 +BUILD_DEPENDS="gcc glib-dev glibc-dev libglade-dev libgnome-dev gtk+-dev \ 1.21 +libgnomeui-dev libpcap-dev gnome-doc-utils-dev libcrypto-dev libxslt-dev \ 1.22 +ossp-uuid-dev" 1.23 + 1.24 +# Rules to configure and make the package. 1.25 +compile_rules() 1.26 +{ 1.27 +./configure \ 1.28 + --prefix=/usr \ 1.29 + --libdir=/usr/lib \ 1.30 + --sysconfdir=/etc \ 1.31 + --localstatedir=/var/state/$PACKAGE-$VERSION \ 1.32 + --mandir=/usr/share/man \ 1.33 + --docdir=/usr/share/doc/$PACKAGE-$VERSION \ 1.34 + --build=$ARCH-slitaz-linux \ 1.35 + --disable-scrollkeeper 1.36 + make && make DESTDIR=$DESTDIR install 1.37 +} 1.38 + 1.39 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 +genpkg_rules() 1.41 +{ 1.42 + mkdir -p $fs/usr/bin 1.43 + cp -a $install/usr/bin/* $fs/usr/bin 1.44 + 1.45 + mkdir -p $fs/usr/share 1.46 + cp -a $install/usr/share/* $fs/usr/share 1.47 +} 1.48 + 1.49 +post_install() 1.50 +{ 1.51 + # The SliTaz use Tazbox. 1.52 + sed -i 's/^Exec=.*/Exec=tazbox su dbus-launch etherape/' \ 1.53 + $1/usr/share/applications/etherape.desktop 1.54 +}