wok view etherape/receipt @ rev 20828
updated dietlibc (0.33 -> 0.34)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 19 17:13:15 2019 +0100 (2019-02-19) |
parents | ead2e76bcde5 |
children | e5c6cfe4174a |
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 libltdl \
15 libcrypto libxslt libgnome-keyring util-linux-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 libtool"
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 }