wok view sonata/receipt @ rev 24417
created recipes for perl-cairo-gobject, perl-glib-object-introspection and perl-gtk3
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 09:16:47 2022 +0100 (2022-02-11) |
parents | 6135577f4d08 |
children |
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="https://www.nongnu.org/sonata/"
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://www.nongnu.org/sonata/download.html 2>/dev/null | \
21 sed '/source/!d;s|.*/v||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --prefix=/usr --root="$DESTDIR"
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/applications $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 cp -a $install/usr/share/sonata $fs/usr/share
37 cp -a $install/usr/share/pixmaps $fs/usr/share
38 cp -a $stuff/startsonata $fs/usr/bin/
39 }