wok-next view sonata/receipt @ rev 17023

Up dropbear (2014.65)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 14 09:57:53 2014 +0200 (2014-08-14)
parents 2b9f96603415
children 7390f8de9846
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://sonata.berlios.de/"
11 WGET_URL="http://download.berlios.de/sonata/$TARBALL"
13 DEPENDS="pygtk python-mpd dbus-python mpd libffi"
14 BUILD_DEPENDS="pygtk-dev dbus-python-dev pygobject-dev gettext \
15 pkg-config acl libcroco python-dev gtk+-dev libffi-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py install --prefix=/usr --root="$DESTDIR"
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/applications $fs/usr/lib
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 cp -a $install/usr/share/sonata $fs/usr/share
31 cp -a $install/usr/share/pixmaps $fs/usr/share
32 cp -a $stuff/startsonata $fs/usr/bin/
33 }