wok-current view sonata/receipt @ rev 17907

Down tazusb
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Apr 06 17:49:12 2015 +0200 (2015-04-06)
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 }