wok-current view nicotine+/receipt @ rev 4501

Add gmpc, gmpc-dev (lightweight, powerful MPD client)
author Rohit Joshi <jozee@slitaz.org>
date Fri Nov 20 15:32:34 2009 +0000 (2009-11-20)
parents 7947a8eb8710
children bee79018e13a
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py install --root=$PWD/_pkg
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr $fs/usr/share $fs/usr/share/nicotine
25 cp -a $_pkg/usr/bin $fs/usr
26 mv $fs/usr/bin/nicotine.py $fs/usr/bin/nicotine
27 cp -a $_pkg/usr/lib $fs/usr
28 cp -a $_pkg/usr/share/applications $fs/usr/share
29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
30 cp -a $_pkg/usr/share/nicotine/sounds $fs/usr/share/nicotine
32 for lang in de es fr pt_BR; do
33 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
34 cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/nicotine.mo \
35 $fs/usr/share/locale/$lang/LC_MESSAGES
36 done
37 }