wok-current annotate sonata/receipt @ rev 10407
autoconf: Added cook_tmp_toolchain function to fix tazwok cook-toolchain.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue May 24 06:48:16 2011 +0000 (2011-05-24) |
parents | ab720c05cb56 |
children | 9c762d56b413 |
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" |
paul@4406 | 8 DEPENDS="pygtk python-mpd dbus-python mpd libffi" |
paul@4406 | 9 BUILD_DEPENDS="pygtk-dev dbus-python-dev pygobject-dev gettext \ |
paul@4406 | 10 pkg-config acl libcroco python-dev gtk+-dev libffi-dev" |
jozee@2676 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@2676 | 12 WEB_SITE="http://sonata.berlios.de/" |
jozee@2676 | 13 WGET_URL="http://download.berlios.de/sonata/$TARBALL" |
jozee@2676 | 14 |
jozee@2676 | 15 # Rules to configure and make the package. |
jozee@2676 | 16 compile_rules() |
jozee@2676 | 17 { |
jozee@2676 | 18 cd $src |
paul@4406 | 19 python setup.py install --prefix=/usr --root="$PWD/_pkg" |
jozee@2676 | 20 } |
jozee@2676 | 21 |
jozee@2676 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2676 | 23 genpkg_rules() |
jozee@2676 | 24 { |
paul@4406 | 25 mkdir -p $fs/usr/share/applications $fs/usr/lib |
jozee@2676 | 26 cp -a $_pkg/usr/bin $fs/usr |
jozee@2676 | 27 cp -a $_pkg/usr/lib $fs/usr |
jozee@2676 | 28 cp -a $_pkg/usr/share/sonata $fs/usr/share |
jozee@2676 | 29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
paul@4406 | 30 cp -a stuff/startsonata $fs/usr/bin/ |
paul@4406 | 31 cp -f stuff/sonata.desktop $fs/usr/share/applications |
jozee@2676 | 32 } |
jozee@2676 | 33 |