wok annotate python-httplib2/receipt @ rev 16314
ARM: add tar and some fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 09 14:14:10 2014 +0200 (2014-04-09) |
parents | 24aee5c78b9f |
children | 16df76e1fc6a |
rev | line source |
---|---|
claudinei@3811 | 1 # SliTaz package receipt. |
claudinei@3811 | 2 |
claudinei@3811 | 3 PACKAGE="python-httplib2" |
claudinei@3811 | 4 SOURCE="httplib2" |
claudinei@14889 | 5 VERSION="0.8" |
claudinei@3811 | 6 CATEGORY="development" |
claudinei@3811 | 7 SHORT_DESC="A comprehensive HTTP client library for python" |
claudinei@3811 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15379 | 9 LICENSE="MIT" |
claudinei@3811 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3811 | 11 WEB_SITE="http://code.google.com/p/httplib2" |
claudinei@3811 | 12 WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL" |
claudinei@3811 | 13 |
pascal@15379 | 14 DEPENDS="python" |
pascal@15379 | 15 BUILD_DEPENDS="python-dev" |
pascal@15379 | 16 |
claudinei@3811 | 17 # Rules to configure and make the package. |
claudinei@3811 | 18 compile_rules() |
claudinei@3811 | 19 { |
claudinei@3811 | 20 cd $src |
claudinei@14889 | 21 python setup.py install --root=$DESTDIR |
claudinei@3811 | 22 } |
claudinei@3811 | 23 |
claudinei@3811 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3811 | 25 genpkg_rules() |
claudinei@3811 | 26 { |
claudinei@14889 | 27 cp -a $install/usr $fs |
claudinei@3811 | 28 } |
claudinei@3811 | 29 |