wok annotate quodlibet/receipt @ rev 18112

Up: slitaz-tools,slitaz-tools-boxes,tazdrop(943), tazpkg(812).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 04 17:21:46 2015 +0300 (2015-06-04)
parents 9689f1b75619
children 20661c276bcf
rev   line source
jozee@2678 1 # SliTaz package receipt.
jozee@2678 2
jozee@2678 3 PACKAGE="quodlibet"
jozee@2678 4 VERSION="2.0"
jozee@2678 5 CATEGORY="multimedia"
jozee@2678 6 SHORT_DESC="An audio player written in pygtk"
jozee@2678 7 MAINTAINER="jozee@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@17482 9 SUGGESTED="gst-plugins-bad gst-ffmpeg"
jozee@2678 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@18086 11 WEB_SITE="http://quodlibet.googlecode.com/"
jozee@2678 12 WGET_URL="$WEB_SITE/files/$TARBALL"
jozee@4971 13 TAGS="multimedia audio sound music player python"
jozee@2678 14
pascal@11879 15 DEPENDS="dbus-python gst-python gst-plugins-base gst-plugins-good \
pascal@11879 16 gst-plugins-ugly mutagen pygtk gstreamer"
pascal@11879 17 BUILD_DEPENDS="dbus-python-dev gst-python-dev gst-plugins-base-dev \
pascal@11879 18 gst-plugins-good-dev gstreamer-dev gst-plugins-ugly-dev pygtk-dev intltool \
pascal@15263 19 gettext gtk+-dev python-dev file"
pascal@11879 20
jozee@2678 21 # Rules to configure and make the package.
jozee@2678 22 compile_rules()
jozee@2678 23 {
al@18086 24 ./setup.py build
pascal@15000 25 ./setup.py install --prefix=$DESTDIR/usr
jozee@2678 26 }
jozee@2678 27
jozee@2678 28 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2678 29 genpkg_rules()
jozee@2678 30 {
jozee@2678 31 mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/share/pixmaps
pascal@15000 32 cp -a $install/usr/bin $fs/usr
pascal@15000 33 cp -a $install/usr/lib/python* $fs/usr/lib
jozee@2678 34 cp -a stuff/*.png $fs/usr/share/pixmaps/
jozee@2678 35 }