wok-stable diff sonata/receipt @ rev 2796

linux: speedup unlzma (18% faster)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 28 15:47:17 2009 +0200 (2009-04-28)
parents
children 8e90bd251450
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sonata/receipt	Tue Apr 28 15:47:17 2009 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="sonata"
     1.7 +VERSION="1.5.3"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Elegant GTK+ music client for MPD"
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +DEPENDS="pygtk python-mpd dbus-python mpd"
    1.12 +BUILD_DEPENDS="pygtk-dev dbus-python-dev pygobject-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://sonata.berlios.de/"
    1.15 +WGET_URL="http://download.berlios.de/sonata/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	python setup.py install --prefix=/usr --root="$PWD/_pkg" 
    1.22 +	
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/share $fs/usr/lib
    1.29 +	cp -a $_pkg/usr/bin $fs/usr
    1.30 +	cp -a $_pkg/usr/lib $fs/usr
    1.31 +	cp -a $_pkg/usr/share/sonata $fs/usr/share
    1.32 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.33 +	cp -a  stuff/startsonata  $fs/usr/bin/
    1.34 +	cp -f sonata.desktop  $fs/usr/share/applications
    1.35 +
    1.36 +
    1.37 +}
    1.38 +