wok-next view etherape/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children eeaac811d96f
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://etherape.sourceforge.io/"
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=$install 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 }