wok-next view etherape/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 757d032c55c7 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="etherape"
4 VERSION="0.9.14"
5 CATEGORY="network"
6 SHORT_DESC="A graphical network monitor and visualization tool"
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="GPL2"
9 WEB_SITE="http://etherape.sourceforge.net"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="gcc glib-dev glibc-dev libglade-dev libgnome-dev gtk2-dev \
15 libgnomeui-dev libpcap-dev gnome-doc-utils openssl-dev libxslt-dev \
16 ossp-uuid-dev"
18 compile_rules() {
19 ./configure \
20 --libdir=/usr/lib \
21 --localstatedir=/var/state/$PACKAGE-$VERSION \
22 --disable-scrollkeeper \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install || return 1
27 # The SliTaz use Tazbox.
28 sed -i 's/^Exec=.*/Exec=tazbox su dbus-launch etherape/' \
29 $install/usr/share/applications/etherape.desktop
31 # TODO: check, looks like ${localstatedir} is a bit weird
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="gtk2 libglade libgnome libpcap libgnomeui libltdl \
37 openssl libxslt libgnome-keyring util-linux-uuid"
38 TAGS="ip monitoring network tcp vlan wlan"
39 }