wok-next view python-mpd/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
children 14f158bcbdb4
line source
1 # SliTaz package receipt.
3 PACKAGE="python-mpd"
4 VERSION="0.2.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Python MPD client library"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="python"
9 BUILD_DEPENDS="python-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://mpd.wikia.com/wiki/ClientLib:python-mpd"
12 WGET_URL="http://pypi.python.org/packages/source/p/python-mpd/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py install --prefix=/usr --root="$PWD/_pkg"
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $_pkg/usr/lib $fs/usr
27 }