wok-current annotate nicotine+/receipt @ rev 6662

Added libart_lgpl to libart_lgpl-dev depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 11 19:21:30 2010 +0000 (2010-10-11)
parents 8291d41cb009
children 3dc9f710bf22
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"
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