wok-6.x annotate sonata/receipt @ rev 15102
xorg-xmessage: no more /usr/share/X11 ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 12:59:34 2013 +0000 (2013-08-14) |
parents | 9c762d56b413 |
children | ee5c8b018b62 |
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@14999 | 10 WEB_SITE="http://sonata.berlios.de/" |
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 |
jozee@2676 | 17 # Rules to configure and make the package. |
jozee@2676 | 18 compile_rules() |
jozee@2676 | 19 { |
jozee@2676 | 20 cd $src |
paul@4406 | 21 python setup.py install --prefix=/usr --root="$PWD/_pkg" |
jozee@2676 | 22 } |
jozee@2676 | 23 |
jozee@2676 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2676 | 25 genpkg_rules() |
jozee@2676 | 26 { |
paul@4406 | 27 mkdir -p $fs/usr/share/applications $fs/usr/lib |
pascal@14999 | 28 cp -a $install/usr/bin $fs/usr |
pascal@14999 | 29 cp -a $install/usr/lib $fs/usr |
pascal@14999 | 30 cp -a $install/usr/share/sonata $fs/usr/share |
pascal@14999 | 31 cp -a $install/usr/share/pixmaps $fs/usr/share |
samuel_trassare@12057 | 32 cp -a $stuff/startsonata $fs/usr/bin/ |
jozee@2676 | 33 } |
jozee@2676 | 34 |