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