wok-current annotate nicotine+/receipt @ rev 19801
Up cacerts (20170224)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 25 14:22:38 2017 +0200 (2017-02-25) |
parents | 3765f181a6d5 |
children | dc8896841a46 |
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" |
pascal@15584 | 8 LICENSE="GPL3" |
claudinei@2921 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@2921 | 10 WEB_SITE="http://www.nicotine-plus.org" |
claudinei@2921 | 11 WGET_URL="http://ufpr.dl.sourceforge.net/sourceforge/nicotine-plus/$TARBALL" |
pascal@15584 | 12 TAGS="fileshare p2p peer-to-peer" |
pascal@15584 | 13 |
claudinei@2921 | 14 DEPENDS="gtk+ python pygtk" |
claudinei@3301 | 15 BUILD_DEPENDS="python-dev pygtk-dev" |
claudinei@2921 | 16 |
claudinei@2921 | 17 # Rules to configure and make the package. |
claudinei@2921 | 18 compile_rules() |
claudinei@2921 | 19 { |
pascal@15584 | 20 python setup.py install --root=$DESTDIR |
claudinei@2921 | 21 } |
claudinei@2921 | 22 |
claudinei@2921 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@2921 | 24 genpkg_rules() |
claudinei@2921 | 25 { |
claudinei@3312 | 26 mkdir -p $fs/usr $fs/usr/share $fs/usr/share/nicotine |
pascal@15584 | 27 cp -a $install/usr/bin $fs/usr |
claudinei@3301 | 28 mv $fs/usr/bin/nicotine.py $fs/usr/bin/nicotine |
pascal@15584 | 29 cp -a $install/usr/lib $fs/usr |
pascal@15584 | 30 cp -a $install/usr/share/applications $fs/usr/share |
pascal@15584 | 31 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@15584 | 32 cp -a $install/usr/share/nicotine/sounds $fs/usr/share/nicotine |
claudinei@3312 | 33 |
claudinei@3312 | 34 for lang in de es fr pt_BR; do |
claudinei@3312 | 35 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES |
pascal@15584 | 36 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/nicotine.mo \ |
claudinei@3312 | 37 $fs/usr/share/locale/$lang/LC_MESSAGES |
al@18077 | 38 done |
claudinei@2921 | 39 } |