wok-next annotate python-socketpool/receipt @ rev 14882
python-socketpool, python-restkit, python-http-parser, python-couchdbkit: we need a meaningfull TARBALL to store sources on mirror
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 24 15:51:20 2013 +0000 (2013-07-24) |
parents | 3929f17027b3 |
children | bf4a09ef1d2e |
rev | line source |
---|---|
claudinei@14878 | 1 # SliTaz package receipt. |
claudinei@14878 | 2 |
claudinei@14878 | 3 PACKAGE="python-socketpool" |
claudinei@14878 | 4 SOURCE="socketpool" |
claudinei@14878 | 5 VERSION="0.5.2" |
claudinei@14878 | 6 CATEGORY="development" |
claudinei@14878 | 7 SHORT_DESC="A simple python socket pool." |
claudinei@14878 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@14882 | 9 TARBALL="$SOURCE-$VERSION.zip" |
claudinei@14878 | 10 WEB_SITE="https://github.com/benoitc/socketpool/" |
pascal@14882 | 11 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip" |
claudinei@14878 | 12 |
claudinei@14878 | 13 DEPENDS="python" |
claudinei@14878 | 14 BUILD_DEPENDS="python-dev setuptools wget" |
claudinei@14878 | 15 |
claudinei@14878 | 16 # Rules to configure and make the package. |
claudinei@14878 | 17 compile_rules() |
claudinei@14878 | 18 { |
claudinei@14878 | 19 cd $src |
claudinei@14878 | 20 python setup.py install --root=$DESTDIR |
claudinei@14878 | 21 } |
claudinei@14878 | 22 |
claudinei@14878 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@14878 | 24 genpkg_rules() |
claudinei@14878 | 25 { |
claudinei@14878 | 26 mkdir -p $fs/usr |
claudinei@14878 | 27 rm -rf $install/usr/socketpool |
claudinei@14878 | 28 cp -a $install/usr $fs |
claudinei@14878 | 29 } |
claudinei@14878 | 30 |