wok-stable annotate python-mygpoclient/receipt @ rev 9148
fix ovz-web-panel
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 06 22:15:32 2011 +0100 (2011-03-06) |
parents | 121f3df018f9 |
children |
rev | line source |
---|---|
claudinei@5745 | 1 # SliTaz package receipt. |
claudinei@5745 | 2 |
claudinei@5745 | 3 PACKAGE="python-mygpoclient" |
claudinei@5745 | 4 SOURCE="mygpoclient" |
slaxemulator@7992 | 5 VERSION="1.5" |
claudinei@5745 | 6 CATEGORY="development" |
claudinei@5745 | 7 SHORT_DESC="Python interface to the gpodder.net web services." |
claudinei@5745 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@5745 | 9 DEPENDS="python python-simplejson" |
claudinei@5745 | 10 BUILD_DEPENDS="python-dev" |
claudinei@5745 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@5745 | 12 WEB_SITE="http://thpinfo.com/2010/mygpoclient" |
claudinei@5745 | 13 WGET_URL="$WEB_SITE/$TARBALL" |
claudinei@5745 | 14 |
claudinei@5745 | 15 # Rules to configure and make the package. |
claudinei@5745 | 16 compile_rules() |
claudinei@5745 | 17 { |
claudinei@5745 | 18 cd $src |
claudinei@5745 | 19 python setup.py install --root=$PWD/_pkg |
claudinei@5745 | 20 } |
claudinei@5745 | 21 |
claudinei@5745 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@5745 | 23 genpkg_rules() |
claudinei@5745 | 24 { |
claudinei@5745 | 25 mkdir -p $fs/usr |
claudinei@5745 | 26 cp -a $_pkg/usr/lib $fs/usr |
claudinei@5745 | 27 cp -a $_pkg/usr/bin $fs/usr |
claudinei@5745 | 28 } |