wok view etherape/receipt @ rev 23859

updated firefox-official (76.0 -> 77.0)
author Hans-G?nter Theisgen
date Wed Jun 17 15:35:48 2020 +0100 (2020-06-17)
parents 174738f4e9f9
children 640a2eba2511
line source
1 # SliTaz package receipt.
3 PACKAGE="etherape"
4 VERSION="0.9.18"
5 CATEGORY="network"
6 TAGS="ip monitoring network tcp vlan wlan"
7 SHORT_DESC="A graphical network monitor and visualization tool."
8 MAINTAINER="hackdorte@sapo.pt"
9 LICENSE="GPL2"
10 WEB_SITE="https://etherape.sourceforge.io"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="gtk+3 libglade libgnome libpcap libgnomeui libltdl
16 libcrypto libxslt libgnome-keyring util-linux-uuid"
17 BUILD_DEPENDS="glib-dev glibc-dev gnome-doc-utils-dev goocanvas
18 goocanvas-dev gtk+3-dev itstool libcrypto-dev libglade-dev
19 libgnome-dev libgnomeui-dev libpcap-dev libtool libxslt-dev
20 ossp-uuid-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 --libdir=/usr/lib \
28 --sysconfdir=/etc \
29 --localstatedir=/var/state/$PACKAGE-$VERSION \
30 --mandir=/usr/share/man \
31 --docdir=/usr/share/doc/$PACKAGE-$VERSION \
32 --build=$ARCH-slitaz-linux \
33 --disable-scrollkeeper
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin
42 mkdir -p $fs/usr/share
44 cp -a $install/usr/bin/* $fs/usr/bin
45 cp -a $install/usr/share/* $fs/usr/share
46 }
48 post_install()
49 {
50 # The SliTaz use Tazbox.
51 sed -i 's/^Exec=.*/Exec=tazbox su dbus-launch etherape/' \
52 $1/usr/share/applications/etherape.desktop
53 }