wok-current annotate nicotine+/receipt @ rev 15584

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 30 17:02:58 2013 +0000 (2013-11-30)
parents 3dc9f710bf22
children 16df76e1fc6a
rev   line source
claudinei@2921 1 # SliTaz package receipt.
claudinei@2921 2
claudinei@2921 3 PACKAGE="nicotine+"
slaxemulator@7954 4 VERSION="1.2.16"
claudinei@2955 5 CATEGORY="network"
claudinei@2921 6 SHORT_DESC="Nicotine+ is a client for the SoulSeek filesharing network."
claudinei@2921 7 MAINTAINER="claudinei@slitaz.org"
pascal@15584 8 LICENSE="GPL3"
claudinei@2921 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
claudinei@2921 10 WEB_SITE="http://www.nicotine-plus.org"
claudinei@2921 11 WGET_URL="http://ufpr.dl.sourceforge.net/sourceforge/nicotine-plus/$TARBALL"
pascal@15584 12 TAGS="fileshare p2p peer-to-peer"
pascal@15584 13
claudinei@2921 14 DEPENDS="gtk+ python pygtk"
claudinei@3301 15 BUILD_DEPENDS="python-dev pygtk-dev"
claudinei@2921 16
claudinei@2921 17 # Rules to configure and make the package.
claudinei@2921 18 compile_rules()
claudinei@2921 19 {
claudinei@2921 20 cd $src
pascal@15584 21 python setup.py install --root=$DESTDIR
claudinei@2921 22 }
claudinei@2921 23
claudinei@2921 24 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@2921 25 genpkg_rules()
claudinei@2921 26 {
claudinei@3312 27 mkdir -p $fs/usr $fs/usr/share $fs/usr/share/nicotine
pascal@15584 28 cp -a $install/usr/bin $fs/usr
claudinei@3301 29 mv $fs/usr/bin/nicotine.py $fs/usr/bin/nicotine
pascal@15584 30 cp -a $install/usr/lib $fs/usr
pascal@15584 31 cp -a $install/usr/share/applications $fs/usr/share
pascal@15584 32 cp -a $install/usr/share/pixmaps $fs/usr/share
pascal@15584 33 cp -a $install/usr/share/nicotine/sounds $fs/usr/share/nicotine
claudinei@3312 34
claudinei@3312 35 for lang in de es fr pt_BR; do
claudinei@3312 36 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
pascal@15584 37 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/nicotine.mo \
claudinei@3312 38 $fs/usr/share/locale/$lang/LC_MESSAGES
claudinei@3312 39 done
claudinei@2921 40 }
claudinei@2921 41