wok view python-mpd/receipt @ rev 9172
tcc-common: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 08 18:01:32 2011 +0100 (2011-03-08) |
parents | ab720c05cb56 |
children | 2a5cc8208d36 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-mpd"
4 VERSION="0.3.0"
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 }