wok-6.x view python-httplib2/receipt @ rev 13937
move modules64.list from linux to linux64
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 17:13:50 2013 +0100 (2013-01-26) |
parents | 7a3395dc2e96 |
children | 24aee5c78b9f |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-httplib2"
4 SOURCE="httplib2"
5 VERSION="0.7.4"
6 CATEGORY="development"
7 SHORT_DESC="A comprehensive HTTP client library for python"
8 MAINTAINER="claudinei@slitaz.org"
9 DEPENDS="python"
10 BUILD_DEPENDS="python python-dev"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://code.google.com/p/httplib2"
13 WGET_URL="http://$SOURCE.googlecode.com/files/$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 for file in `find $_pkg | grep 'pyc$'`; do
26 rm $file
27 done
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr $fs
30 }