wok annotate python-gevent/receipt @ rev 16550
ttf-dejavu, ttf-dejavu-extra: up (2.34); ttf-roboto, ttf-roboto-base: up (1.2); ttf-mgopen: fix wget url
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Apr 29 19:18:57 2014 +0000 (2014-04-29) |
parents | |
children | 16df76e1fc6a |
rev | line source |
---|---|
pascal@15210 | 1 # SliTaz package receipt. |
pascal@15210 | 2 |
pascal@15210 | 3 PACKAGE="python-gevent" |
pascal@15210 | 4 SOURCE="gevent" |
pascal@15210 | 5 VERSION="0.13.8" |
pascal@15210 | 6 CATEGORY="development" |
pascal@15210 | 7 SHORT_DESC="A coroutine-based Python networking library." |
pascal@15210 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15210 | 9 LICENSE="MIT" |
pascal@15210 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@15210 | 11 WEB_SITE="http://www.gevent.org/" |
pascal@15210 | 12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15210 | 13 |
pascal@15210 | 14 DEPENDS="python" |
pascal@15210 | 15 BUILD_DEPENDS="wget python-dev python libevent-dev" |
pascal@15210 | 16 |
pascal@15210 | 17 # Rules to configure and make the package. |
pascal@15210 | 18 compile_rules() |
pascal@15210 | 19 { |
pascal@15210 | 20 cd $src |
pascal@15210 | 21 python setup.py build && |
pascal@15210 | 22 python setup.py install --root=$DESTDIR |
pascal@15210 | 23 } |
pascal@15210 | 24 |
pascal@15210 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15210 | 26 genpkg_rules() |
pascal@15210 | 27 { |
pascal@15210 | 28 mkdir -p $fs |
pascal@15210 | 29 cp -a $install/usr $fs |
pascal@15210 | 30 } |