wok-current view etherape/receipt @ rev 24885

updated mcabber (0.9.10 -> 1.1.2)
author Hans-G?nter Theisgen
date Fri Apr 01 07:52:41 2022 +0100 (2022-04-01)
parents 69a08b0214f3
children
line source
1 # SliTaz package receipt.
3 PACKAGE="etherape"
4 VERSION="0.9.20"
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 SUGGESTED="etherape-lang"
16 DEPENDS="goocanvas gtk+3 libcrypto libglade libgnome libpcap
17 libgnome-keyring libgnomeui libltdl libxml2 libxslt
18 util-linux-uuid"
19 BUILD_DEPENDS="glib-dev glibc-dev gnome-doc-utils-dev goocanvas-dev
20 gtk+3-dev itstool libcrypto-dev libglade-dev libgnome-dev
21 libgnomeui-dev libpcap-dev libtool libxml2-dev libxslt-dev
22 ossp-uuid-dev"
24 # What is the latest version available today?
25 current_version()
26 {
27 wget -O - https://sourceforge.net/projects/etherape/files/etherape/ 2>/dev/null | \
28 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
29 sed '/scope="row/!d;s|.*/etherape/||;s|/.*||;q'
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 # etherape should work with goocanvas-3.0 as well
36 sed -i 's|goocanvas-2.0|goocanvas-3.0|' configure &&
38 ./configure \
39 --prefix=/usr \
40 --libdir=/usr/lib \
41 --sysconfdir=/etc \
42 --localstatedir=/var/state/$PACKAGE-$VERSION \
43 --mandir=/usr/share/man \
44 --docdir=/usr/share/doc/$PACKAGE-$VERSION \
45 --build=$ARCH-slitaz-linux \
46 --disable-scrollkeeper
47 make &&
48 make install DESTDIR=$DESTDIR
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 mkdir -p $fs/usr/share
56 cook_copy_folders bin
57 cp -a $install/usr/share/applications $fs/usr/share
58 cp -a $install/usr/share/etherape $fs/usr/share
59 cp -a $install/usr/share/pixmaps $fs/usr/share
60 }
62 post_install()
63 {
64 # The SliTaz use Tazbox.
65 sed -i 's|^Exec=.*|Exec=tazbox su dbus-launch etherape|' \
66 $1/usr/share/applications/etherape.desktop
67 }