wok-next annotate django/receipt @ rev 2923
Add: django (python web framework)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu May 07 00:25:25 2009 +0000 (2009-05-07) |
parents | |
children |
rev | line source |
---|---|
claudinei@2923 | 1 # SliTaz package receipt. |
claudinei@2923 | 2 |
claudinei@2923 | 3 PACKAGE="django" |
claudinei@2923 | 4 SOURCE="Django" |
claudinei@2923 | 5 VERSION="1.0.2-final" |
claudinei@2923 | 6 CATEGORY="development" |
claudinei@2923 | 7 SHORT_DESC="Django is a high-level Python Web framework." |
claudinei@2923 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@2923 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@2923 | 10 WEB_SITE="http://www.djangoproject.com/" |
claudinei@2923 | 11 WGET_URL="http://media.djangoproject.com/releases/1.0.2/$TARBALL" |
claudinei@2923 | 12 DEPENDS="python pysqlite" |
claudinei@2923 | 13 SUGGESTED="mysql-python" |
claudinei@2923 | 14 BUILD_DEPENDS="python-dev" |
claudinei@2923 | 15 |
claudinei@2923 | 16 # Rules to configure and make the package. |
claudinei@2923 | 17 compile_rules() |
claudinei@2923 | 18 { |
claudinei@2923 | 19 cd $src |
claudinei@2923 | 20 python setup.py install --root=$PWD/_pkg |
claudinei@2923 | 21 } |
claudinei@2923 | 22 |
claudinei@2923 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@2923 | 24 genpkg_rules() |
claudinei@2923 | 25 { |
claudinei@2923 | 26 mkdir -p $fs/usr |
claudinei@2923 | 27 cp -a $_pkg/usr $fs |
claudinei@2923 | 28 } |
claudinei@2923 | 29 |