wok-current diff gtk-gnutella/receipt @ rev 22432

Add sshrc (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 21 11:45:45 2019 +0100 (2019-12-21)
parents f7322e87a0d8
children b8ade74f0d9c
line diff
     1.1 --- a/gtk-gnutella/receipt	Tue May 01 13:13:13 2012 +0200
     1.2 +++ b/gtk-gnutella/receipt	Sat Dec 21 11:45:45 2019 +0100
     1.3 @@ -5,14 +5,16 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="p2p client"
     1.6  MAINTAINER="allan316@gmail.com"
     1.7 +LICENSE="GPL2"
     1.8 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.9 +WEB_SITE="http://gtk-gnutella.sourceforge.net"
    1.10 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.11 +
    1.12  DEPENDS="gnutls libgcrypt libgpg-error expat gtk+  libxml2 \
    1.13  xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp \
    1.14  xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
    1.15  xorg-libXdamage libtasn1"
    1.16  BUILD_DEPENDS="zlib-dev gtk+-dev pkg-config libxml2-dev glib-dev xorg-dev"
    1.17 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="http://gtk-gnutella.sourceforge.net"
    1.19 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23 @@ -21,7 +23,7 @@
    1.24  	./build.sh --prefix=/usr \
    1.25  	--disable-dbus \
    1.26  	--disable-nls &&
    1.27 -	make $MAKEFLAGS install INSTALL_PREFIX=$PWD/_pkg
    1.28 +	make $MAKEFLAGS install INSTALL_PREFIX=$DESTDIR
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 @@ -31,9 +33,9 @@
    1.33  	mkdir -p $fs/usr/share/applications
    1.34  	mkdir -p $fs/usr/share/pixmaps
    1.35  	mkdir -p $fs/usr/share/gtk-gnutella/pixmaps
    1.36 -	cp -a $_pkg/usr/bin/* $fs/usr/bin
    1.37 -	cp -a $_pkg/usr/share/applications/* $fs/usr/share/applications/
    1.38 -	cp -a $_pkg/usr/share/pixmaps/* $fs/usr/share/pixmaps
    1.39 -	cp -a $_pkg/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/
    1.40 +	cp -a $install/usr/bin/* $fs/usr/bin
    1.41 +	cp -a $install/usr/share/applications/* $fs/usr/share/applications/
    1.42 +	cp -a $install/usr/share/pixmaps/* $fs/usr/share/pixmaps
    1.43 +	cp -a $install/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/
    1.44  }
    1.45