wok-next annotate python-mpd/receipt @ rev 18700
jpilot: build workaround (cooker/tazpkg needs investigations)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 16 10:12:38 2015 +0100 (2015-12-16) |
parents | 7d672a2330b8 |
children | c4e53a39395a |
rev | line source |
---|---|
jozee@2676 | 1 # SliTaz package receipt. |
jozee@2676 | 2 |
jozee@2676 | 3 PACKAGE="python-mpd" |
slaxemulator@7743 | 4 VERSION="0.3.0" |
jozee@2676 | 5 CATEGORY="multimedia" |
jozee@2676 | 6 SHORT_DESC="Python MPD client library" |
jozee@2676 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15379 | 8 LICENSE="LGPL3" |
jozee@2676 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@16477 | 10 WEB_SITE="https://pypi.python.org/pypi/python-mpd/" |
jozee@2676 | 11 WGET_URL="http://pypi.python.org/packages/source/p/python-mpd/$TARBALL" |
pankso@16477 | 12 HOST_ARCH="i486 arm" |
jozee@2676 | 13 |
pascal@15379 | 14 DEPENDS="python" |
pascal@15379 | 15 BUILD_DEPENDS="python-dev" |
pascal@15379 | 16 |
jozee@2676 | 17 # Rules to configure and make the package. |
jozee@2676 | 18 compile_rules() |
jozee@2676 | 19 { |
al@18077 | 20 python setup.py install --prefix=/usr --root="$DESTDIR" |
jozee@2676 | 21 } |
jozee@2676 | 22 |
jozee@2676 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2676 | 24 genpkg_rules() |
jozee@2676 | 25 { |
jozee@2676 | 26 mkdir -p $fs/usr/lib |
pascal@15379 | 27 cp -a $install/usr/lib $fs/usr |
jozee@2676 | 28 } |