wok-next view python-markupsafe/receipt @ rev 9846
Fixed apache-mod-wsgi for tazwok. Just need to cd $src before compiling.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 15 18:30:30 2011 +0000 (2011-05-15) |
parents | |
children | 0e0514e408c6 |
line source
1 PACKAGE="python-markupsafe"
2 VERSION="0.12"
3 CATEGORY="development"
4 SHORT_DESC="Implements a XML/HTML/XHTML Markup safe string for Python."
5 MAINTAINER="pascal.bellard@slitaz.org"
6 SOURCE="MarkupSafe"
7 TARBALL="$SOURCE-$VERSION.tar.gz"
8 WEB_SITE="http://pypi.python.org/pypi/MarkupSafe"
9 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
10 # http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.12.tar.gz"
11 DEPENDS="python"
12 BUILD_DEPENDS="python python-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
18 cd $src
19 python setup.py build &&
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs
27 cp -a $_pkg/usr $fs
28 }