wok-4.x annotate python-httplib2/receipt @ rev 4035

Add: PuTTY
author Matthew Sheets <rcx@zoominternet.net>
date Mon Sep 07 17:17:20 2009 +0000 (2009-09-07)
parents
children
rev   line source
claudinei@3811 1 # SliTaz package receipt.
claudinei@3811 2
claudinei@3811 3 PACKAGE="python-httplib2"
claudinei@3811 4 SOURCE="httplib2"
claudinei@3811 5 VERSION="0.5.0"
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@3811 10 BUILD_DEPENDS="python 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@3811 19 python setup.py install --root=$PWD/_pkg
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@3811 25 for file in `find $_pkg | grep 'pyc$'`; do
claudinei@3811 26 rm $file
claudinei@3811 27 done
claudinei@3811 28 mkdir -p $fs/usr
claudinei@3811 29 cp -a $_pkg/usr $fs
claudinei@3811 30 }
claudinei@3811 31