wok-6.x view python-mpd/receipt @ rev 12820
glibc-base: improve receipt for ARM and cross-compilation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 21 23:48:44 2012 +0200 (2012-05-21) |
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 }