wok annotate sonata/receipt @ rev 24650

updated htop (2.2.0 -> 3.1.2)
author Hans-G?nter Theisgen
date Thu Mar 10 16:26:13 2022 +0100 (2022-03-10)
parents 6135577f4d08
children
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"
pascal@14999 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20679 10 WEB_SITE="https://www.nongnu.org/sonata/"
pascal@14999 11 WGET_URL="http://download.berlios.de/sonata/$TARBALL"
pascal@14999 12
paul@4406 13 DEPENDS="pygtk python-mpd dbus-python mpd libffi"
paul@4406 14 BUILD_DEPENDS="pygtk-dev dbus-python-dev pygobject-dev gettext \
paul@4406 15 pkg-config acl libcroco python-dev gtk+-dev libffi-dev"
jozee@2676 16
pascal@24415 17 # What is the latest version available today?
pascal@24415 18 current_version()
pascal@24415 19 {
pascal@24415 20 wget -O - https://www.nongnu.org/sonata/download.html 2>/dev/null | \
pascal@24415 21 sed '/source/!d;s|.*/v||;s|.tar.*||;q'
pascal@24415 22 }
pascal@24415 23
jozee@2676 24 # Rules to configure and make the package.
jozee@2676 25 compile_rules()
jozee@2676 26 {
al@18086 27 python setup.py install --prefix=/usr --root="$DESTDIR"
jozee@2676 28 }
jozee@2676 29
jozee@2676 30 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2676 31 genpkg_rules()
jozee@2676 32 {
paul@4406 33 mkdir -p $fs/usr/share/applications $fs/usr/lib
pascal@14999 34 cp -a $install/usr/bin $fs/usr
pascal@14999 35 cp -a $install/usr/lib $fs/usr
pascal@14999 36 cp -a $install/usr/share/sonata $fs/usr/share
pascal@14999 37 cp -a $install/usr/share/pixmaps $fs/usr/share
samuel_trassare@12057 38 cp -a $stuff/startsonata $fs/usr/bin/
jozee@2676 39 }