wok annotate python-mygpoclient/receipt @ rev 14356
python-couchdbkit, python-restclient: fix TARBALL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 17 12:59:13 2013 +0200 (2013-04-17) |
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 } |