wok-next view nicotine+/receipt @ rev 17736
prelink: force libpthread link
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 12:45:18 2015 +0100 (2015-03-06) |
parents | 3dc9f710bf22 |
children | 16df76e1fc6a |
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 cd $src
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 $fs/usr/share $fs/usr/share/nicotine
28 cp -a $install/usr/bin $fs/usr
29 mv $fs/usr/bin/nicotine.py $fs/usr/bin/nicotine
30 cp -a $install/usr/lib $fs/usr
31 cp -a $install/usr/share/applications $fs/usr/share
32 cp -a $install/usr/share/pixmaps $fs/usr/share
33 cp -a $install/usr/share/nicotine/sounds $fs/usr/share/nicotine
35 for lang in de es fr pt_BR; do
36 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
37 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/nicotine.mo \
38 $fs/usr/share/locale/$lang/LC_MESSAGES
39 done
40 }