wok-next annotate sonata/receipt @ rev 20931
pygobject3 -> python-pygobject (latest); pygobject -> python-pygobject2 (legacy)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 23 08:03:04 2018 +0300 (2018-08-23) |
parents | 306a4f258013 |
children | c022997c7a57 |
rev | line source |
---|---|
jozee@2676 | 1 # SliTaz package receipt. |
jozee@2676 | 2 |
jozee@2676 | 3 PACKAGE="sonata" |
paul@4406 | 4 VERSION="1.6.2.1" |
jozee@2676 | 5 CATEGORY="multimedia" |
jozee@2676 | 6 SHORT_DESC="Elegant GTK+ music client for MPD" |
jozee@2676 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@20929 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20929 | 10 WEB_SITE="https://www.nongnu.org/sonata/" |
al@20929 | 11 WGET_URL="https://github.com/multani/sonata/archive/v$VERSION.tar.gz" |
pascal@14999 | 12 |
al@20919 | 13 DEPENDS="pygtk python-mpd python-dbus mpd libffi" |
al@20931 | 14 BUILD_DEPENDS="pygtk-dev python-dbus-dev python-pygobject2-dev gettext \ |
al@20513 | 15 acl libcroco python-dev gtk+-dev libffi-dev" |
jozee@2676 | 16 |
jozee@2676 | 17 # Rules to configure and make the package. |
jozee@2676 | 18 compile_rules() |
jozee@2676 | 19 { |
al@18086 | 20 python setup.py install --prefix=/usr --root="$DESTDIR" |
jozee@2676 | 21 } |
jozee@2676 | 22 |
jozee@2676 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2676 | 24 genpkg_rules() |
jozee@2676 | 25 { |
paul@4406 | 26 mkdir -p $fs/usr/share/applications $fs/usr/lib |
pascal@14999 | 27 cp -a $install/usr/bin $fs/usr |
pascal@14999 | 28 cp -a $install/usr/lib $fs/usr |
pascal@14999 | 29 cp -a $install/usr/share/sonata $fs/usr/share |
pascal@14999 | 30 cp -a $install/usr/share/pixmaps $fs/usr/share |
samuel_trassare@12057 | 31 cp -a $stuff/startsonata $fs/usr/bin/ |
jozee@2676 | 32 } |