wok view python-restkit/receipt @ rev 15149

php: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 13:25:02 2013 +0000 (2013-08-15)
parents d4febb47f097
children bf4a09ef1d2e
line source
1 # SliTaz package receipt.
3 PACKAGE="python-restkit"
4 SOURCE="restkit"
5 VERSION="4.2.1"
6 CATEGORY="development"
7 SHORT_DESC="An HTTP resource kit for Python"
8 MAINTAINER="claudinei@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.zip"
10 WEB_SITE="http://restkit.readthedocs.org"
11 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip"
13 DEPENDS="python python-http-parser python-socketpool"
14 BUILD_DEPENDS="python-dev setuptools wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 rm -rf $install/usr/restkit
28 cp -a $install/usr $fs
29 }