wok-next view sonata/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents c022997c7a57
children d5aab818505e
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.gz"
10 WEB_SITE="https://www.nongnu.org/sonata/"
11 WGET_URL="https://github.com/multani/sonata/archive/v$VERSION.tar.gz"
13 DEPENDS="python-pygtk python-mpd python-dbus mpd libffi"
14 BUILD_DEPENDS="python-pygtk-dev python-dbus-dev python-pygobject2-dev gettext \
15 acl libcroco python-dev gtk2-dev libffi-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --prefix=/usr --root="$DESTDIR"
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/applications $fs/usr/lib
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 cp -a $install/usr/share/sonata $fs/usr/share
30 cp -a $install/usr/share/pixmaps $fs/usr/share
31 cp -a $stuff/startsonata $fs/usr/bin/
32 }