wok-6.x view nicotine+/receipt @ rev 22683

Up ipxe (1.20.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 19 11:06:13 2020 +0100 (2020-01-19)
parents dc8896841a46
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="nicotine+"
4 VERSION="1.4.1"
5 CATEGORY="network"
6 TAGS="fileshare p2p peer-to-peer"
7 SHORT_DESC="A client for the SoulSeek filesharing network."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.nicotine-plus.org"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/Nicotine-Plus/nicotine-plus/archive/$VERSION.tar.gz"
15 DEPENDS="gtk+ python pygtk"
16 BUILD_DEPENDS="python-dev pygtk-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/nicotine
29 cp -a $install/usr/bin $fs/usr
30 # mv $fs/usr/bin/nicotine.py $fs/usr/bin/nicotine
31 cp -a $install/usr/lib $fs/usr
32 cp -a $install/usr/share/applications $fs/usr/share
33 cp -a $install/usr/share/icons $fs/usr/share
34 cp -a $install/usr/share/nicotine/sounds $fs/usr/share/nicotine
36 for lang in de es fr pt_BR
37 do
38 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
39 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/nicotine.mo \
40 $fs/usr/share/locale/$lang/LC_MESSAGES
41 done
42 }