wok diff nicotine+/receipt @ rev 17602

appdata-tools: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 12 11:09:07 2015 +0100 (2015-02-12)
parents 3dc9f710bf22
children 16df76e1fc6a
line diff
     1.1 --- a/nicotine+/receipt	Sat Jan 15 16:10:19 2011 +0000
     1.2 +++ b/nicotine+/receipt	Thu Feb 12 11:09:07 2015 +0100
     1.3 @@ -5,34 +5,36 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Nicotine+ is a client for the SoulSeek filesharing network."
     1.6  MAINTAINER="claudinei@slitaz.org"
     1.7 +LICENSE="GPL3"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://www.nicotine-plus.org"
    1.10  WGET_URL="http://ufpr.dl.sourceforge.net/sourceforge/nicotine-plus/$TARBALL"
    1.11 +TAGS="fileshare p2p peer-to-peer"
    1.12 +
    1.13  DEPENDS="gtk+ python pygtk"
    1.14  BUILD_DEPENDS="python-dev pygtk-dev"
    1.15 -TAGS="fileshare p2p peer-to-peer"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21 -	python setup.py install --root=$PWD/_pkg
    1.22 +	python setup.py install --root=$DESTDIR
    1.23  }
    1.24  
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28  	mkdir -p $fs/usr $fs/usr/share $fs/usr/share/nicotine
    1.29 -	cp -a $_pkg/usr/bin $fs/usr
    1.30 +	cp -a $install/usr/bin $fs/usr
    1.31  	mv $fs/usr/bin/nicotine.py $fs/usr/bin/nicotine
    1.32 -	cp -a $_pkg/usr/lib $fs/usr
    1.33 -	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.34 -	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.35 -	cp -a $_pkg/usr/share/nicotine/sounds $fs/usr/share/nicotine
    1.36 +	cp -a $install/usr/lib $fs/usr
    1.37 +	cp -a $install/usr/share/applications $fs/usr/share
    1.38 +	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.39 +	cp -a $install/usr/share/nicotine/sounds $fs/usr/share/nicotine
    1.40  
    1.41  	for lang in de es fr pt_BR; do
    1.42  		mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
    1.43 -		cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/nicotine.mo \
    1.44 +		cp -a $install/usr/share/locale/$lang/LC_MESSAGES/nicotine.mo \
    1.45  			$fs/usr/share/locale/$lang/LC_MESSAGES
    1.46  	done	
    1.47  }