wok-6.x view sonata/receipt @ rev 2926
linux modules depends on depmod
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 07 09:37:08 2009 +0200 (2009-05-07) |
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 }