wok-6.x annotate python-mygpoclient/receipt @ rev 9861
php: try to fix again
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 16 18:10:27 2011 +0200 (2011-05-16) |
parents | 121f3df018f9 |
children | 2a5cc8208d36 |
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 } |