wok annotate python-mpd/receipt @ rev 6389
Fixed some depends problems when building gtk-vnc. Like added libtasn1 to libtasn1-dev. Some builds need the .so files and the headers.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 23 18:31:29 2010 +0000 (2010-09-23) |
parents | |
children | 14f158bcbdb4 |
rev | line source |
---|---|
jozee@2676 | 1 # SliTaz package receipt. |
jozee@2676 | 2 |
jozee@2676 | 3 PACKAGE="python-mpd" |
jozee@2676 | 4 VERSION="0.2.1" |
jozee@2676 | 5 CATEGORY="multimedia" |
jozee@2676 | 6 SHORT_DESC="Python MPD client library" |
jozee@2676 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@2676 | 8 DEPENDS="python" |
jozee@2676 | 9 BUILD_DEPENDS="python-dev" |
jozee@2676 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@2676 | 11 WEB_SITE="http://mpd.wikia.com/wiki/ClientLib:python-mpd" |
jozee@2676 | 12 WGET_URL="http://pypi.python.org/packages/source/p/python-mpd/$TARBALL" |
jozee@2676 | 13 |
jozee@2676 | 14 # Rules to configure and make the package. |
jozee@2676 | 15 compile_rules() |
jozee@2676 | 16 { |
jozee@2676 | 17 cd $src |
jozee@2676 | 18 python setup.py install --prefix=/usr --root="$PWD/_pkg" |
jozee@2676 | 19 |
jozee@2676 | 20 } |
jozee@2676 | 21 |
jozee@2676 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2676 | 23 genpkg_rules() |
jozee@2676 | 24 { |
jozee@2676 | 25 mkdir -p $fs/usr/lib |
jozee@2676 | 26 cp -a $_pkg/usr/lib $fs/usr |
jozee@2676 | 27 } |