wok view quodlibet/receipt @ rev 3919
linux: fix build
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Tue Aug 18 19:22:04 2009 +0200 (2009-08-18) | 
| parents | 46e1925cd7cf | 
| children | c4ca195c01dd | 
 line source
     1 # SliTaz package receipt.
     3 PACKAGE="quodlibet"
     4 VERSION="2.0"
     5 CATEGORY="multimedia"
     6 SHORT_DESC="An audio player written in pygtk"
     7 MAINTAINER="jozee@slitaz.org"
     8 DEPENDS="dbus-python gst-python gst-plugins-base gst-plugins-good gst-plugins-ugly mutagen pygtk gstreamer"
     9 BUILD_DEPENDS="dbus-python-dev gst-python-dev gst-plugins-base-dev gst-plugins-good-dev gstreamer-dev gst-plugins-ugly-dev pygtk-dev intltool gettext gtk+-dev "
    10 SUGGESTED="gst-bad-plugins gst-ffmpeg"
    11 TARBALL="$PACKAGE-$VERSION.tar.gz"
    12 WEB_SITE="http://quodlibet.googlecode.com/" 
    13 WGET_URL="$WEB_SITE/files/$TARBALL"
    15 # Rules to configure and make the package.
    16 compile_rules()
    17 {
    18 	cd $src
    19 	 ./setup.py build
    20 	./setup.py install --prefix=$PWD/_pkg/usr
    22 }
    24 # Rules to gen a SliTaz package suitable for Tazpkg.
    25 genpkg_rules()
    26 {
    27 	mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/share/pixmaps
    28 	cp -a $_pkg/usr/bin $fs/usr
    29 	cp -a $_pkg/usr/lib/python* $fs/usr/lib
    30 	cp -a stuff/*.png $fs/usr/share/pixmaps/
    32 }