wok-current rev 22898

updated gtk-gnutella (0.98.2 -> 1.1.15)
author Hans-G?nter Theisgen
date Sun Feb 23 11:33:56 2020 +0100 (2020-02-23)
parents f6ef901980a5
children a88f87d4098b
files gtk-gnutella/receipt
line diff
     1.1 --- a/gtk-gnutella/receipt	Sun Feb 23 11:12:05 2020 +0100
     1.2 +++ b/gtk-gnutella/receipt	Sun Feb 23 11:33:56 2020 +0100
     1.3 @@ -1,27 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gtk-gnutella"
     1.7 -VERSION="0.98.2"
     1.8 +VERSION="1.1.15"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="p2p client"
    1.11 +SHORT_DESC="p2p client."
    1.12  MAINTAINER="allan316@gmail.com"
    1.13  LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://gtk-gnutella.sourceforge.net"
    1.16 +WEB_SITE="https://sourceforge.net/projects/gtk-gnutella/"
    1.17 +
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20  
    1.21 -DEPENDS="gnutls libgcrypt libgpg-error expat gtk+  libxml2 \
    1.22 -xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp \
    1.23 -xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
    1.24 -xorg-libXdamage libtasn1"
    1.25 -BUILD_DEPENDS="zlib-dev gtk+-dev pkg-config libxml2-dev glib-dev xorg-dev"
    1.26 +DEPENDS="expat gnutls gtk+ libgcrypt libgpg-error libtasn1 libxml2 
    1.27 +	xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor 
    1.28 +	xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes 
    1.29 +	xorg-libXinerama xorg-libXrandr xorg-libXrender"
    1.30 +BUILD_DEPENDS="glib-dev gtk+-dev libxml2-dev pkg-config xorg-dev 
    1.31 +	zlib-dev"
    1.32  
    1.33  # Rules to configure and make the package.
    1.34  compile_rules()
    1.35  {
    1.36 -	./build.sh --prefix=/usr \
    1.37 -	--disable-dbus \
    1.38 -	--disable-nls &&
    1.39 +	./build.sh		\
    1.40 +		--prefix=/usr	\
    1.41 +		--disable-dbus	\
    1.42 +		--disable-nls &&
    1.43  	make $MAKEFLAGS install INSTALL_PREFIX=$DESTDIR
    1.44  }
    1.45  
    1.46 @@ -32,13 +35,17 @@
    1.47  	mkdir -p $fs/usr/share/applications
    1.48  	mkdir -p $fs/usr/share/pixmaps
    1.49  	mkdir -p $fs/usr/share/gtk-gnutella/pixmaps
    1.50 -	cp -a $install/usr/bin/gtk-gnutella $fs/usr/bin/gtk-gnutella.bin
    1.51 +
    1.52 +	cp -a $install/usr/bin/gtk-gnutella	$fs/usr/bin/gtk-gnutella.bin
    1.53 +
    1.54  	cat > $fs/usr/bin/gtk-gnutella <<EOT
    1.55  #!/bin/sh
    1.56  G_SLICE=always_malloc /usr/bin/gtk-gnutella.bin
    1.57  EOT
    1.58  	chmod 755 $fs/usr/bin/gtk-gnutella
    1.59 -	cp -a $install/usr/share/applications/* $fs/usr/share/applications/
    1.60 -	cp -a $install/usr/share/pixmaps/* $fs/usr/share/pixmaps
    1.61 -	cp -a $install/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/
    1.62 +
    1.63 +	cp -a $install/usr/share/applications/*	$fs/usr/share/applications
    1.64 +	cp -a $install/usr/share/pixmaps/*	$fs/usr/share/pixmaps
    1.65 +	cp -a $install/usr/share/gtk-gnutella/pixmaps/* \
    1.66 +						$fs/usr/share/gtk-gnutella/pixmaps
    1.67  }