wok annotate etherape/receipt @ rev 24494
updated dolibarr (10.0.6 -> 14.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 19 13:37:42 2022 +0100 (2022-02-19) |
parents | e5c6cfe4174a |
children | 69a08b0214f3 |
rev | line source |
---|---|
hackdorte@19194 | 1 # SliTaz package receipt. |
hackdorte@19194 | 2 |
hackdorte@19194 | 3 PACKAGE="etherape" |
Hans-G?nter@22704 | 4 VERSION="0.9.18" |
hackdorte@19194 | 5 CATEGORY="network" |
Hans-G?nter@22704 | 6 TAGS="ip monitoring network tcp vlan wlan" |
hackdorte@19194 | 7 SHORT_DESC="A graphical network monitor and visualization tool." |
hackdorte@19194 | 8 MAINTAINER="hackdorte@sapo.pt" |
hackdorte@19194 | 9 LICENSE="GPL2" |
Hans-G?nter@22704 | 10 WEB_SITE="https://etherape.sourceforge.io" |
Hans-G?nter@22704 | 11 |
hackdorte@19194 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
hackdorte@19194 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
hackdorte@19194 | 14 |
Hans-G?nter@22704 | 15 DEPENDS="gtk+3 libglade libgnome libpcap libgnomeui libltdl |
Hans-G?nter@22704 | 16 libcrypto libxslt libgnome-keyring util-linux-uuid" |
Hans-G?nter@22704 | 17 BUILD_DEPENDS="glib-dev glibc-dev gnome-doc-utils-dev goocanvas |
Hans-G?nter@22704 | 18 goocanvas-dev gtk+3-dev itstool libcrypto-dev libglade-dev |
Hans-G?nter@22704 | 19 libgnome-dev libgnomeui-dev libpcap-dev libtool libxslt-dev |
Hans-G?nter@22704 | 20 ossp-uuid-dev" |
hackdorte@19194 | 21 |
pascal@24385 | 22 # What is the latest version available today? |
pascal@24385 | 23 current_version() |
pascal@24385 | 24 { |
pascal@24385 | 25 wget -O - https://sourceforge.net/projects/etherape/files/etherape/ 2>/dev/null | \ |
pascal@24385 | 26 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24385 | 27 sed '/scope="row/!d;s|.*/etherape/||;s|/.*||;q' |
pascal@24385 | 28 } |
pascal@24385 | 29 |
hackdorte@19194 | 30 # Rules to configure and make the package. |
hackdorte@19194 | 31 compile_rules() |
hackdorte@19194 | 32 { |
Hans-G?nter@22704 | 33 ./configure \ |
Hans-G?nter@22704 | 34 --prefix=/usr \ |
Hans-G?nter@22704 | 35 --libdir=/usr/lib \ |
Hans-G?nter@22704 | 36 --sysconfdir=/etc \ |
Hans-G?nter@22704 | 37 --localstatedir=/var/state/$PACKAGE-$VERSION \ |
Hans-G?nter@22704 | 38 --mandir=/usr/share/man \ |
Hans-G?nter@22704 | 39 --docdir=/usr/share/doc/$PACKAGE-$VERSION \ |
Hans-G?nter@22704 | 40 --build=$ARCH-slitaz-linux \ |
Hans-G?nter@22704 | 41 --disable-scrollkeeper |
Hans-G?nter@22704 | 42 make && |
Hans-G?nter@22704 | 43 make DESTDIR=$DESTDIR install |
hackdorte@19194 | 44 } |
hackdorte@19194 | 45 |
hackdorte@19194 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
hackdorte@19194 | 47 genpkg_rules() |
hackdorte@19194 | 48 { |
Hans-G?nter@22704 | 49 mkdir -p $fs/usr/bin |
Hans-G?nter@22704 | 50 mkdir -p $fs/usr/share |
hackdorte@19194 | 51 |
Hans-G?nter@22704 | 52 cp -a $install/usr/bin/* $fs/usr/bin |
Hans-G?nter@22704 | 53 cp -a $install/usr/share/* $fs/usr/share |
hackdorte@19194 | 54 } |
hackdorte@19194 | 55 |
hackdorte@19194 | 56 post_install() |
hackdorte@19194 | 57 { |
Hans-G?nter@22704 | 58 # The SliTaz use Tazbox. |
Hans-G?nter@22704 | 59 sed -i 's/^Exec=.*/Exec=tazbox su dbus-launch etherape/' \ |
Hans-G?nter@22704 | 60 $1/usr/share/applications/etherape.desktop |
hackdorte@19194 | 61 } |