wok diff etherape/receipt @ rev 23939

Add qemu-mipsel
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 12 12:54:45 2020 +0000 (2020-09-12)
parents 174738f4e9f9
children 640a2eba2511
line diff
     1.1 --- a/etherape/receipt	Sun Oct 15 18:03:00 2017 +0200
     1.2 +++ b/etherape/receipt	Sat Sep 12 12:54:45 2020 +0000
     1.3 @@ -1,51 +1,53 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="etherape"
     1.7 -VERSION="0.9.14"
     1.8 +VERSION="0.9.18"
     1.9  CATEGORY="network"
    1.10 +TAGS="ip monitoring network tcp vlan wlan"
    1.11  SHORT_DESC="A graphical network monitor and visualization tool."
    1.12  MAINTAINER="hackdorte@sapo.pt"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://etherape.sourceforge.io"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://etherape.sourceforge.net"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -TAGS="ip monitoring network tcp vlan wlan"
    1.20  
    1.21 -DEPENDS="gtk+ libglade libgnome libpcap libgnomeui libltdl \
    1.22 -libcrypto libxslt libgnome-keyring util-linux-uuid"
    1.23 -
    1.24 -BUILD_DEPENDS="gcc glib-dev glibc-dev libglade-dev libgnome-dev gtk+-dev \
    1.25 -libgnomeui-dev libpcap-dev gnome-doc-utils-dev libcrypto-dev libxslt-dev \
    1.26 -ossp-uuid-dev libtool"
    1.27 +DEPENDS="gtk+3 libglade libgnome libpcap libgnomeui libltdl 
    1.28 +	libcrypto libxslt libgnome-keyring util-linux-uuid"
    1.29 +BUILD_DEPENDS="glib-dev glibc-dev gnome-doc-utils-dev goocanvas 
    1.30 +	goocanvas-dev gtk+3-dev itstool libcrypto-dev libglade-dev 
    1.31 +	libgnome-dev libgnomeui-dev libpcap-dev libtool libxslt-dev 
    1.32 +	ossp-uuid-dev"
    1.33  
    1.34  # Rules to configure and make the package.
    1.35  compile_rules()
    1.36  {
    1.37 -./configure \
    1.38 -  --prefix=/usr \
    1.39 -  --libdir=/usr/lib \
    1.40 -  --sysconfdir=/etc \
    1.41 -  --localstatedir=/var/state/$PACKAGE-$VERSION \
    1.42 -  --mandir=/usr/share/man \
    1.43 -  --docdir=/usr/share/doc/$PACKAGE-$VERSION \
    1.44 -  --build=$ARCH-slitaz-linux \
    1.45 -  --disable-scrollkeeper
    1.46 -  make && make DESTDIR=$DESTDIR install
    1.47 +	./configure						\
    1.48 +		--prefix=/usr					\
    1.49 +		--libdir=/usr/lib				\
    1.50 +		--sysconfdir=/etc				\
    1.51 +		--localstatedir=/var/state/$PACKAGE-$VERSION	\
    1.52 +		--mandir=/usr/share/man				\
    1.53 +		--docdir=/usr/share/doc/$PACKAGE-$VERSION	\
    1.54 +		--build=$ARCH-slitaz-linux			\
    1.55 +		--disable-scrollkeeper
    1.56 +	make &&
    1.57 +	make DESTDIR=$DESTDIR install
    1.58  }
    1.59  
    1.60  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.61  genpkg_rules()
    1.62  {
    1.63 -  mkdir -p $fs/usr/bin
    1.64 -  cp -a $install/usr/bin/* $fs/usr/bin
    1.65 +	mkdir -p $fs/usr/bin
    1.66 +	mkdir -p $fs/usr/share
    1.67  
    1.68 -  mkdir -p $fs/usr/share
    1.69 -  cp -a $install/usr/share/* $fs/usr/share
    1.70 +	cp -a $install/usr/bin/* $fs/usr/bin
    1.71 +	cp -a $install/usr/share/* $fs/usr/share
    1.72  }
    1.73  
    1.74  post_install() 
    1.75  {
    1.76 -  # The SliTaz use Tazbox.
    1.77 -  sed -i 's/^Exec=.*/Exec=tazbox su dbus-launch etherape/' \
    1.78 -  $1/usr/share/applications/etherape.desktop
    1.79 +	# The SliTaz use Tazbox.
    1.80 +	sed -i 's/^Exec=.*/Exec=tazbox su dbus-launch etherape/' \
    1.81 +		$1/usr/share/applications/etherape.desktop
    1.82  }