wok annotate nicotine+/receipt @ rev 15258
suricata: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 24 09:54:56 2013 +0000 (2013-09-24) |
parents | bee79018e13a |
children | 3765f181a6d5 |
rev | line source |
---|---|
claudinei@2921 | 1 # SliTaz package receipt. |
claudinei@2921 | 2 |
claudinei@2921 | 3 PACKAGE="nicotine+" |
slaxemulator@7954 | 4 VERSION="1.2.16" |
claudinei@2955 | 5 CATEGORY="network" |
claudinei@2921 | 6 SHORT_DESC="Nicotine+ is a client for the SoulSeek filesharing network." |
claudinei@2921 | 7 MAINTAINER="claudinei@slitaz.org" |
claudinei@2921 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@2921 | 9 WEB_SITE="http://www.nicotine-plus.org" |
claudinei@2921 | 10 WGET_URL="http://ufpr.dl.sourceforge.net/sourceforge/nicotine-plus/$TARBALL" |
claudinei@2921 | 11 DEPENDS="gtk+ python pygtk" |
claudinei@3301 | 12 BUILD_DEPENDS="python-dev pygtk-dev" |
jozee@4969 | 13 TAGS="fileshare p2p peer-to-peer" |
claudinei@2921 | 14 |
claudinei@2921 | 15 # Rules to configure and make the package. |
claudinei@2921 | 16 compile_rules() |
claudinei@2921 | 17 { |
claudinei@2921 | 18 cd $src |
claudinei@3301 | 19 python setup.py install --root=$PWD/_pkg |
claudinei@2921 | 20 } |
claudinei@2921 | 21 |
claudinei@2921 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@2921 | 23 genpkg_rules() |
claudinei@2921 | 24 { |
claudinei@3312 | 25 mkdir -p $fs/usr $fs/usr/share $fs/usr/share/nicotine |
claudinei@3312 | 26 cp -a $_pkg/usr/bin $fs/usr |
claudinei@3301 | 27 mv $fs/usr/bin/nicotine.py $fs/usr/bin/nicotine |
claudinei@3312 | 28 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3312 | 29 cp -a $_pkg/usr/share/applications $fs/usr/share |
claudinei@3312 | 30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
claudinei@3312 | 31 cp -a $_pkg/usr/share/nicotine/sounds $fs/usr/share/nicotine |
claudinei@3312 | 32 |
claudinei@3312 | 33 for lang in de es fr pt_BR; do |
claudinei@3312 | 34 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES |
claudinei@3312 | 35 cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/nicotine.mo \ |
claudinei@3312 | 36 $fs/usr/share/locale/$lang/LC_MESSAGES |
claudinei@3312 | 37 done |
claudinei@2921 | 38 } |
claudinei@2921 | 39 |