wok-current annotate python-restkit/receipt @ rev 15376
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 18 22:13:53 2013 +0000 (2013-10-18) |
parents | a9673381f756 |
children | 7390f8de9846 |
rev | line source |
---|---|
claudinei@14879 | 1 # SliTaz package receipt. |
claudinei@14879 | 2 |
claudinei@14879 | 3 PACKAGE="python-restkit" |
claudinei@14879 | 4 SOURCE="restkit" |
claudinei@14879 | 5 VERSION="4.2.1" |
claudinei@14879 | 6 CATEGORY="development" |
claudinei@14879 | 7 SHORT_DESC="An HTTP resource kit for Python" |
claudinei@14879 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15376 | 9 LICENSE="MIT" |
pascal@14882 | 10 TARBALL="$SOURCE-$VERSION.zip" |
claudinei@14879 | 11 WEB_SITE="http://restkit.readthedocs.org" |
pascal@14882 | 12 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip" |
claudinei@14879 | 13 |
claudinei@14879 | 14 DEPENDS="python python-http-parser python-socketpool" |
claudinei@14879 | 15 BUILD_DEPENDS="python-dev setuptools wget" |
claudinei@14879 | 16 |
claudinei@14879 | 17 # Rules to configure and make the package. |
claudinei@14879 | 18 compile_rules() |
claudinei@14879 | 19 { |
claudinei@14879 | 20 cd $src |
claudinei@14879 | 21 python setup.py install --root=$DESTDIR |
claudinei@14879 | 22 } |
claudinei@14879 | 23 |
claudinei@14879 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@14879 | 25 genpkg_rules() |
claudinei@14879 | 26 { |
claudinei@14879 | 27 mkdir -p $fs/usr |
claudinei@14879 | 28 rm -rf $install/usr/restkit |
claudinei@14879 | 29 cp -a $install/usr $fs |
claudinei@14879 | 30 } |
claudinei@14879 | 31 |