wok-current view nicotine+/receipt @ rev 7936

tazpkg-web: Up to 2.1 with last CSS and layout working smothly
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jan 11 20:49:09 2011 +0100 (2011-01-11)
parents 8291d41cb009
children 3dc9f710bf22
line source
1 # SliTaz package receipt.
3 PACKAGE="nicotine+"
4 VERSION="1.2.12"
5 CATEGORY="network"
6 SHORT_DESC="Nicotine+ is a client for the SoulSeek filesharing network."
7 MAINTAINER="claudinei@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.nicotine-plus.org"
10 WGET_URL="http://ufpr.dl.sourceforge.net/sourceforge/nicotine-plus/$TARBALL"
11 DEPENDS="gtk+ python pygtk"
12 BUILD_DEPENDS="python-dev pygtk-dev"
13 TAGS="fileshare p2p peer-to-peer"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr $fs/usr/share $fs/usr/share/nicotine
26 cp -a $_pkg/usr/bin $fs/usr
27 mv $fs/usr/bin/nicotine.py $fs/usr/bin/nicotine
28 cp -a $_pkg/usr/lib $fs/usr
29 cp -a $_pkg/usr/share/applications $fs/usr/share
30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
31 cp -a $_pkg/usr/share/nicotine/sounds $fs/usr/share/nicotine
33 for lang in de es fr pt_BR; do
34 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
35 cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/nicotine.mo \
36 $fs/usr/share/locale/$lang/LC_MESSAGES
37 done
38 }