wok view nicotine+/receipt @ rev 10908
mpd: add init script (thanks Mali)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 26 11:44:53 2011 +0200 (2011-07-26) |
parents | bee79018e13a |
children | 3765f181a6d5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nicotine+"
4 VERSION="1.2.16"
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 }