wok-current annotate twisted-web/receipt @ rev 7486
firefox:delete outdate fr-langpack,add new fr-langpack separate from firefox
author | fireflyoo <lufeng369@gmail.com> |
---|---|
date | Fri Dec 03 18:58:50 2010 +0800 (2010-12-03) |
parents | aec4d3c7826a |
children | 4ccb5afe8864 |
rev | line source |
---|---|
pascal@2149 | 1 # SliTaz package receipt. |
pascal@2149 | 2 |
pascal@2149 | 3 PACKAGE="twisted-web" |
slaxemulator@6428 | 4 VERSION="10.0.0" |
pascal@2149 | 5 CATEGORY="network" |
pascal@2149 | 6 SHORT_DESC="An HTTP protocol implementation together with clients and servers." |
pascal@2149 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2149 | 8 SOURCE="TwistedWeb" |
pascal@2149 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@2149 | 10 WEB_SITE="http://twistedmatrix.com/trac/" |
pascal@2149 | 11 WGET_URL="http://tmrc.mit.edu/mirror/twisted/Web/${VERSION%.*}/$TARBALL" |
pascal@2149 | 12 DEPENDS="python twisted" |
slaxemulator@6428 | 13 BUILD_DEPENDS="$DEPENDS python-dev" |
pascal@2149 | 14 |
pascal@2149 | 15 # Rules to configure and make the package. |
pascal@2149 | 16 compile_rules() |
pascal@2149 | 17 { |
pascal@2149 | 18 cd $src |
pascal@2149 | 19 python setup.py build && python setup.py install --root=$PWD/_pkg |
pascal@2149 | 20 } |
pascal@2149 | 21 |
pascal@2149 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2149 | 23 genpkg_rules() |
pascal@2149 | 24 { |
pascal@2149 | 25 cp -a $_pkg/usr $fs |
pascal@2149 | 26 } |
pascal@2149 | 27 |