wok-current view etherape/receipt @ rev 19783
mate-control-center: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 22 09:46:32 2017 +0100 (2017-02-22) |
parents | |
children | 174738f4e9f9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="etherape"
4 VERSION="0.9.14"
5 CATEGORY="network"
6 SHORT_DESC="A graphical network monitor and visualization tool."
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://etherape.sourceforge.net"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="ip monitoring network tcp vlan wlan"
14 DEPENDS="gtk+ libglade libgnome libpcap libgnomeui libtool \
15 libcrypto libxslt libgnome-keyring ossp-uuid"
17 BUILD_DEPENDS="gcc glib-dev glibc-dev libglade-dev libgnome-dev gtk+-dev \
18 libgnomeui-dev libpcap-dev gnome-doc-utils-dev libcrypto-dev libxslt-dev \
19 ossp-uuid-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 --libdir=/usr/lib \
27 --sysconfdir=/etc \
28 --localstatedir=/var/state/$PACKAGE-$VERSION \
29 --mandir=/usr/share/man \
30 --docdir=/usr/share/doc/$PACKAGE-$VERSION \
31 --build=$ARCH-slitaz-linux \
32 --disable-scrollkeeper
33 make && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin
40 cp -a $install/usr/bin/* $fs/usr/bin
42 mkdir -p $fs/usr/share
43 cp -a $install/usr/share/* $fs/usr/share
44 }
46 post_install()
47 {
48 # The SliTaz use Tazbox.
49 sed -i 's/^Exec=.*/Exec=tazbox su dbus-launch etherape/' \
50 $1/usr/share/applications/etherape.desktop
51 }