wok-6.x annotate python-mygpoclient/receipt @ rev 6330
Make sure package receipt exists before source in check_commit function. I hope this causes no problems.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Sep 18 16:45:22 2010 +0000 (2010-09-18) |
parents | bd6154dc6735 |
children | 8ee7c7081850 |
rev | line source |
---|---|
claudinei@5745 | 1 # SliTaz package receipt. |
claudinei@5745 | 2 |
claudinei@5745 | 3 PACKAGE="python-mygpoclient" |
claudinei@5745 | 4 SOURCE="mygpoclient" |
claudinei@5745 | 5 VERSION="1.4" |
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 } |