wok view etherape/receipt @ rev 24556
updated flatpress (0.1010.2 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 14:05:00 2022 +0100 (2022-02-25) |
parents | 640a2eba2511 |
children | aa66605526f6 |
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 ./configure \
36 --prefix=/usr \
37 --libdir=/usr/lib \
38 --sysconfdir=/etc \
39 --localstatedir=/var/state/$PACKAGE-$VERSION \
40 --mandir=/usr/share/man \
41 --docdir=/usr/share/doc/$PACKAGE-$VERSION \
42 --build=$ARCH-slitaz-linux \
43 --disable-scrollkeeper
44 make &&
45 make install DESTDIR=$DESTDIR
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/share
53 cook_copy_folders bin
54 cp -a $install/usr/share/applications $fs/usr/share
55 cp -a $install/usr/share/etherape $fs/usr/share
56 cp -a $install/usr/share/pixmaps $fs/usr/share
57 }
59 post_install()
60 {
61 # The SliTaz use Tazbox.
62 sed -i 's|^Exec=.*|Exec=tazbox su dbus-launch etherape|' \
63 $1/usr/share/applications/etherape.desktop
64 }