wok-4.x view nicotine+/receipt @ rev 6419
Up: lxpanel to 0.5.6. I committed out my patch since it doesn't patch now. I also took battary montor out so lxpanel will build. All other plugins are there.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Sep 26 17:02:23 2010 +0000 (2010-09-26) |
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 }