wok-6.x annotate python-gdata/receipt @ rev 15545
Up: firefox-langpack-ru (17.0.11esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 24 17:36:40 2013 +0100 (2013-11-24) |
parents | 9d082d25caea |
children | 16df76e1fc6a |
rev | line source |
---|---|
pascal@11727 | 1 # SliTaz package receipt. |
pascal@11727 | 2 |
pascal@11727 | 3 PACKAGE="python-gdata" |
pascal@11727 | 4 SOURCE="gdata" |
pascal@11727 | 5 VERSION="2.0.16" |
pascal@11727 | 6 CATEGORY="development" |
pascal@11727 | 7 SHORT_DESC="The Google Data APIs for Python." |
pascal@11727 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 9 LICENSE="Apache" |
pascal@11727 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@11727 | 11 WEB_SITE="http://http://code.google.com/p/gdata-python-client/" |
pascal@11727 | 12 WGET_URL="http://gdata-python-client.googlecode.com/files/$TARBALL" |
pascal@11727 | 13 |
pascal@11727 | 14 DEPENDS="python" |
pascal@11727 | 15 BUILD_DEPENDS="python-dev python" |
pascal@11727 | 16 |
pascal@11727 | 17 # Rules to configure and make the package. |
pascal@11727 | 18 compile_rules() |
pascal@11727 | 19 { |
pascal@11727 | 20 cd $src |
pascal@11727 | 21 python setup.py build && |
pascal@11727 | 22 python setup.py install --root=$DESTDIR |
pascal@11727 | 23 } |
pascal@11727 | 24 |
pascal@11727 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11727 | 26 genpkg_rules() |
pascal@11727 | 27 { |
pascal@11727 | 28 mkdir -p $fs |
pascal@15379 | 29 cp -a $install/usr $fs |
pascal@11727 | 30 } |