wok-6.x view sonata/receipt @ rev 4406
Up: sonata (1.6.2.1) and fix deps
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Tue Oct 20 20:34:03 2009 +0000 (2009-10-20) |
parents | ab720c05cb56 |
children | 9c762d56b413 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sonata"
4 VERSION="1.6.2.1"
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 libffi"
9 BUILD_DEPENDS="pygtk-dev dbus-python-dev pygobject-dev gettext \
10 pkg-config acl libcroco python-dev gtk+-dev libffi-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://sonata.berlios.de/"
13 WGET_URL="http://download.berlios.de/sonata/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 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/applications $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 stuff/sonata.desktop $fs/usr/share/applications
32 }