wok-6.x annotate etherape/receipt @ rev 23273
updated pam_ldap (185 -> 186)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 28 14:46:49 2020 +0100 (2020-03-28) |
parents | 174738f4e9f9 |
children | 640a2eba2511 |
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 |
hackdorte@19194 | 22 # Rules to configure and make the package. |
hackdorte@19194 | 23 compile_rules() |
hackdorte@19194 | 24 { |
Hans-G?nter@22704 | 25 ./configure \ |
Hans-G?nter@22704 | 26 --prefix=/usr \ |
Hans-G?nter@22704 | 27 --libdir=/usr/lib \ |
Hans-G?nter@22704 | 28 --sysconfdir=/etc \ |
Hans-G?nter@22704 | 29 --localstatedir=/var/state/$PACKAGE-$VERSION \ |
Hans-G?nter@22704 | 30 --mandir=/usr/share/man \ |
Hans-G?nter@22704 | 31 --docdir=/usr/share/doc/$PACKAGE-$VERSION \ |
Hans-G?nter@22704 | 32 --build=$ARCH-slitaz-linux \ |
Hans-G?nter@22704 | 33 --disable-scrollkeeper |
Hans-G?nter@22704 | 34 make && |
Hans-G?nter@22704 | 35 make DESTDIR=$DESTDIR install |
hackdorte@19194 | 36 } |
hackdorte@19194 | 37 |
hackdorte@19194 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
hackdorte@19194 | 39 genpkg_rules() |
hackdorte@19194 | 40 { |
Hans-G?nter@22704 | 41 mkdir -p $fs/usr/bin |
Hans-G?nter@22704 | 42 mkdir -p $fs/usr/share |
hackdorte@19194 | 43 |
Hans-G?nter@22704 | 44 cp -a $install/usr/bin/* $fs/usr/bin |
Hans-G?nter@22704 | 45 cp -a $install/usr/share/* $fs/usr/share |
hackdorte@19194 | 46 } |
hackdorte@19194 | 47 |
hackdorte@19194 | 48 post_install() |
hackdorte@19194 | 49 { |
Hans-G?nter@22704 | 50 # The SliTaz use Tazbox. |
Hans-G?nter@22704 | 51 sed -i 's/^Exec=.*/Exec=tazbox su dbus-launch etherape/' \ |
Hans-G?nter@22704 | 52 $1/usr/share/applications/etherape.desktop |
hackdorte@19194 | 53 } |