wok-6.x view python-django/receipt @ rev 5563

emotion, esmart, ewl, ffmpeg-svn, hubbub, libffcall, libnsgif, libparserutils, libsmpeg, mplayer-svn, rage, v4l-dvb: do not cache empty tarball
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 14 11:03:45 2010 +0200 (2010-05-14)
parents 8487ca1081a5
children d65df587bc17
line source
1 # SliTaz package receipt.
3 PACKAGE="python-django"
4 SOURCE="Django"
5 VERSION="1.1.1"
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="python python-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 find $_pkg -name "*.pyc" -exec rm '{}' \;
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr $fs
29 }
31 # Remove old package.
32 post_install()
33 {
34 rm -rf $1/var/lib/tazpkg/installed/django
35 }