wok-current view nicotine+/receipt @ rev 19441

Up fltk (1.3.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 14 08:59:42 2016 +0200 (2016-10-14)
parents 3765f181a6d5
children dc8896841a46
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.nicotine-plus.org"
11 WGET_URL="http://ufpr.dl.sourceforge.net/sourceforge/nicotine-plus/$TARBALL"
12 TAGS="fileshare p2p peer-to-peer"
14 DEPENDS="gtk+ python pygtk"
15 BUILD_DEPENDS="python-dev pygtk-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr $fs/usr/share $fs/usr/share/nicotine
27 cp -a $install/usr/bin $fs/usr
28 mv $fs/usr/bin/nicotine.py $fs/usr/bin/nicotine
29 cp -a $install/usr/lib $fs/usr
30 cp -a $install/usr/share/applications $fs/usr/share
31 cp -a $install/usr/share/pixmaps $fs/usr/share
32 cp -a $install/usr/share/nicotine/sounds $fs/usr/share/nicotine
34 for lang in de es fr pt_BR; do
35 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
36 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/nicotine.mo \
37 $fs/usr/share/locale/$lang/LC_MESSAGES
38 done
39 }