wok-current diff python-mpd/receipt @ rev 5643
Up lguest 2.6.24
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 28 22:15:48 2010 +0200 (2010-05-28) |
parents | |
children | 14f158bcbdb4 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-mpd/receipt Fri May 28 22:15:48 2010 +0200 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-mpd" 1.7 +VERSION="0.2.1" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Python MPD client library" 1.10 +MAINTAINER="jozee@slitaz.org" 1.11 +DEPENDS="python" 1.12 +BUILD_DEPENDS="python-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://mpd.wikia.com/wiki/ClientLib:python-mpd" 1.15 +WGET_URL="http://pypi.python.org/packages/source/p/python-mpd/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + python setup.py install --prefix=/usr --root="$PWD/_pkg" 1.22 + 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/lib 1.29 + cp -a $_pkg/usr/lib $fs/usr 1.30 +}