wok-next annotate etherape/receipt @ rev 21636

updated f3 (2.2 -> 7.2)
author Hans-G?nter Theisgen
date Fri Jun 26 11:11:30 2020 +0100 (2020-06-26)
parents d5aab818505e
children
rev   line source
al@20534 1 # SliTaz package receipt v2.
hackdorte@19194 2
hackdorte@19194 3 PACKAGE="etherape"
Hans-G?nter@21629 4 VERSION="0.9.19"
hackdorte@19194 5 CATEGORY="network"
Hans-G?nter@21629 6 TAGS="ip monitoring network tcp vlan wlan"
al@20534 7 SHORT_DESC="A graphical network monitor and visualization tool"
Hans-G?nter@21629 8 MAINTAINER="maintainer@slitaz.org"
hackdorte@19194 9 LICENSE="GPL2"
al@21020 10 WEB_SITE="https://etherape.sourceforge.io/"
al@20534 11
hackdorte@19194 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
hackdorte@19194 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
hackdorte@19194 14
Hans-G?nter@21629 15 BUILD_DEPENDS="gcc glib-dev glibc-dev gnome-doc-utils goocanvas2-dev
Hans-G?nter@21629 16 gtk2-dev itstool libglade-dev libgnome-dev \
Hans-G?nter@21629 17 libgnomeui-dev libpcap-dev libxslt-dev \
Hans-G?nter@21629 18 openssl-dev ossp-uuid-dev xorg-libXtst-dev"
hackdorte@19194 19
Hans-G?nter@21629 20 compile_rules()
Hans-G?nter@21629 21 {
Hans-G?nter@21629 22 ./configure \
Hans-G?nter@21629 23 --libdir=/usr/lib \
Hans-G?nter@21629 24 --localstatedir=/var/state/$PACKAGE-$VERSION \
Hans-G?nter@21629 25 --disable-scrollkeeper \
al@20534 26 $CONFIGURE_ARGS &&
al@20534 27 make &&
al@21020 28 make DESTDIR=$install install || return 1
al@20534 29
al@20534 30 # The SliTaz use Tazbox.
al@20534 31 sed -i 's/^Exec=.*/Exec=tazbox su dbus-launch etherape/' \
al@20534 32 $install/usr/share/applications/etherape.desktop
al@20534 33
al@20534 34 # TODO: check, looks like ${localstatedir} is a bit weird
hackdorte@19194 35 }
hackdorte@19194 36
Hans-G?nter@21629 37 genpkg_rules()
Hans-G?nter@21629 38 {
al@20534 39 copy @std
Hans-G?nter@21629 40
Hans-G?nter@21629 41 DEPENDS="goocanvas2 gtk2 libglade libgnome libgnome-keyring
Hans-G?nter@21629 42 libgnomeui libltdl libpcap libxslt openssl
Hans-G?nter@21629 43 util-linux-uuid xorg-libXtst"
hackdorte@19194 44 }