wok view python-gdata/receipt @ rev 12085

fpm2: Make sure /usr folder exist before copying /usr/bin folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Mar 09 21:47:23 2012 -0500 (2012-03-09)
parents
children 2a5cc8208d36
line source
1 # SliTaz package receipt.
3 PACKAGE="python-gdata"
4 SOURCE="gdata"
5 VERSION="2.0.16"
6 CATEGORY="development"
7 SHORT_DESC="The Google Data APIs for Python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://http://code.google.com/p/gdata-python-client/"
11 WGET_URL="http://gdata-python-client.googlecode.com/files/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-dev python"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs
28 cp -a $_pkg/usr $fs
29 }