wok-6.x view sonata/receipt @ rev 4281

Up: lzip (1.8)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Sep 26 07:53:47 2009 +0000 (2009-09-26)
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 }