wok-next annotate python-httplib2/receipt @ rev 14889
Up: python-httplib2 (0.8)
| author | Claudinei Pereira <claudinei@slitaz.org> |
|---|---|
| date | Wed Jul 24 19:02:34 2013 -0300 (2013-07-24) |
| parents | 1c9bce1df451 |
| children | 2a5cc8208d36 |
| 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" |
| claudinei@3811 | 9 DEPENDS="python" |
| claudinei@14889 | 10 BUILD_DEPENDS="python-dev" |
| claudinei@3811 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
| claudinei@3811 | 12 WEB_SITE="http://code.google.com/p/httplib2" |
| claudinei@3811 | 13 WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL" |
| claudinei@3811 | 14 |
| claudinei@3811 | 15 # Rules to configure and make the package. |
| claudinei@3811 | 16 compile_rules() |
| claudinei@3811 | 17 { |
| claudinei@3811 | 18 cd $src |
| claudinei@14889 | 19 python setup.py install --root=$DESTDIR |
| claudinei@3811 | 20 } |
| claudinei@3811 | 21 |
| claudinei@3811 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
| claudinei@3811 | 23 genpkg_rules() |
| claudinei@3811 | 24 { |
| claudinei@14889 | 25 cp -a $install/usr $fs |
| claudinei@3811 | 26 } |
| claudinei@3811 | 27 |