wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="python-mygpoclient"
4 SOURCE="mygpoclient"
5 VERSION="1.4"
6 CATEGORY="development"
7 SHORT_DESC="Python interface to the gpodder.net web services."
8 MAINTAINER="claudinei@slitaz.org"
9 DEPENDS="python python-simplejson"
10 BUILD_DEPENDS="python-dev"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://thpinfo.com/2010/mygpoclient"
13 WGET_URL="$WEB_SITE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/lib $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 }