wok view python-django/receipt @ rev 14471
Up: ophcrack (3.5.0)
author | Cedric Tissieres <slitaz@objectif-securite.ch> |
---|---|
date | Thu May 02 15:08:24 2013 +0200 (2013-05-02) |
parents | d3cfa94dc1c7 |
children | ca4495712bef |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-django"
4 SOURCE="Django"
5 VERSION="1.3"
6 CATEGORY="development"
7 SHORT_DESC="Django is a high-level Python Web framework."
8 MAINTAINER="claudinei@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.djangoproject.com/"
11 WGET_URL="http://media.djangoproject.com/releases/$VERSION/$TARBALL"
12 DEPENDS="python python-pysqlite"
13 SUGGESTED="python-mysql"
14 BUILD_DEPENDS="setuptools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr $fs
28 }
30 # Remove old package.
31 post_install()
32 {
33 rm -rf $1/var/lib/tazpkg/installed/django
34 }