wok-next diff gtk-gnutella/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 5669e8b3be70
children
line diff
     1.1 --- a/gtk-gnutella/receipt	Sat Dec 22 04:52:35 2018 +0200
     1.2 +++ b/gtk-gnutella/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,37 +1,41 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gtk-gnutella"
     1.7 -VERSION="1.1.13"
     1.8 +VERSION="1.1.15"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="p2p client"
    1.11  MAINTAINER="allan316@gmail.com"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://gtk-gnutella.sourceforge.net/en/?page=news"
    1.14 +WEB_SITE="https://sourceforge.net/projects/gtk-gnutella/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19 -BUILD_DEPENDS="zlib-dev gtk2-dev libxml2-dev glib-dev xorg-dev"
    1.20 +BUILD_DEPENDS="glib-dev gtk2-dev libxml2-dev xorg-dev zlib-dev"
    1.21  
    1.22 -compile_rules() {
    1.23 -	./build.sh \
    1.24 -		--prefix=/usr \
    1.25 -		--disable-dbus \
    1.26 +compile_rules()
    1.27 +{
    1.28 +	./build.sh		\
    1.29 +		--prefix=/usr	\
    1.30 +		--disable-dbus	\
    1.31  		--disable-nls &&
    1.32  	make $MAKEFLAGS install INSTALL_PREFIX=$install
    1.33  }
    1.34  
    1.35 -genpkg_rules() {
    1.36 +genpkg_rules()
    1.37 +{
    1.38  	mkdir -p $fs/usr/bin
    1.39  	mkdir -p $fs/usr/share/applications
    1.40  	mkdir -p $fs/usr/share/pixmaps
    1.41  	mkdir -p $fs/usr/share/gtk-gnutella/pixmaps
    1.42 -	cp -a $install/usr/bin/* $fs/usr/bin
    1.43 -	cp -a $install/usr/share/applications/* $fs/usr/share/applications/
    1.44 -	cp -a $install/usr/share/pixmaps/* $fs/usr/share/pixmaps
    1.45 -	cp -a $install/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/
    1.46 -	DEPENDS="gnutls libgcrypt libgpg-error expat gtk2 libxml2 libx11 \
    1.47 -	libxau libxcomposite libxcursor libxdmcp libxext \
    1.48 -	libxfixes libxinerama libxrandr libxrender \
    1.49 -	libxdamage libtasn1"
    1.50 +
    1.51 +	cp -a $install/usr/bin/*		$fs/usr/bin
    1.52 +	cp -a $install/usr/share/applications/*	$fs/usr/share/applications/
    1.53 +	cp -a $install/usr/share/pixmaps/*	$fs/usr/share/pixmaps
    1.54 +	cp -a $install/usr/share/gtk-gnutella/pixmaps/* \
    1.55 +						$fs/usr/share/gtk-gnutella/pixmaps/
    1.56 +
    1.57 +	DEPENDS="expat gnutls gtk2 libgcrypt libgpg-error libtasn1libx11 
    1.58 +		libxau libxcomposite libxcursor libxdamage libxdmcp libxext 
    1.59 +		libxfixes libxinerama libxml2 libxrandr libxrender"
    1.60  }