wok view sonata/receipt @ rev 14999
Add GPL3 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 13:52:56 2013 +0000 (2013-08-10) |
parents | 9c762d56b413 |
children | ee5c8b018b62 |
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="$PWD/_pkg"
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 }