wok annotate nicotine+/receipt @ rev 3906
moc: fix depends
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Aug 16 19:09:54 2009 +0000 (2009-08-16) |
parents | 7947a8eb8710 |
children | bee79018e13a |
rev | line source |
---|---|
claudinei@2921 | 1 # SliTaz package receipt. |
claudinei@2921 | 2 |
claudinei@2921 | 3 PACKAGE="nicotine+" |
claudinei@3301 | 4 VERSION="1.2.12" |
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" |
claudinei@2921 | 13 |
claudinei@2921 | 14 # Rules to configure and make the package. |
claudinei@2921 | 15 compile_rules() |
claudinei@2921 | 16 { |
claudinei@2921 | 17 cd $src |
claudinei@3301 | 18 python setup.py install --root=$PWD/_pkg |
claudinei@2921 | 19 } |
claudinei@2921 | 20 |
claudinei@2921 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@2921 | 22 genpkg_rules() |
claudinei@2921 | 23 { |
claudinei@3312 | 24 mkdir -p $fs/usr $fs/usr/share $fs/usr/share/nicotine |
claudinei@3312 | 25 cp -a $_pkg/usr/bin $fs/usr |
claudinei@3301 | 26 mv $fs/usr/bin/nicotine.py $fs/usr/bin/nicotine |
claudinei@3312 | 27 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3312 | 28 cp -a $_pkg/usr/share/applications $fs/usr/share |
claudinei@3312 | 29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
claudinei@3312 | 30 cp -a $_pkg/usr/share/nicotine/sounds $fs/usr/share/nicotine |
claudinei@3312 | 31 |
claudinei@3312 | 32 for lang in de es fr pt_BR; do |
claudinei@3312 | 33 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES |
claudinei@3312 | 34 cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/nicotine.mo \ |
claudinei@3312 | 35 $fs/usr/share/locale/$lang/LC_MESSAGES |
claudinei@3312 | 36 done |
claudinei@2921 | 37 } |
claudinei@2921 | 38 |