wok-next view etherape/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | e6615350078d |
children | f48456621a9d |
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 gtk+-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="gtk+ libglade libgnome libpcap libgnomeui libltdl \
37 openssl libxslt libgnome-keyring util-linux-uuid"
38 TAGS="ip monitoring network tcp vlan wlan"
39 }