wok-stable view sonata/receipt @ rev 4308

Up: ewl (rev 42530) and rage (fix both build with last emotion)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Sep 28 15:33:14 2009 +0200 (2009-09-28)
parents
children 8e90bd251450
line source
1 # SliTaz package receipt.
3 PACKAGE="sonata"
4 VERSION="1.5.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="Elegant GTK+ music client for MPD"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="pygtk python-mpd dbus-python mpd"
9 BUILD_DEPENDS="pygtk-dev dbus-python-dev pygobject-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://sonata.berlios.de/"
12 WGET_URL="http://download.berlios.de/sonata/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py install --prefix=/usr --root="$PWD/_pkg"
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share $fs/usr/lib
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 cp -a $_pkg/usr/share/sonata $fs/usr/share
29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
30 cp -a stuff/startsonata $fs/usr/bin/
31 cp -f sonata.desktop $fs/usr/share/applications
34 }