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