wok-stable annotate python-django/receipt @ rev 11284
Up: phpmyadmin to 3.4.7.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 10 14:55:14 2011 +0000 (2011-11-10) |
parents | d3cfa94dc1c7 |
children |
rev | line source |
---|---|
claudinei@3389 | 1 # SliTaz package receipt. |
claudinei@3389 | 2 |
claudinei@3389 | 3 PACKAGE="python-django" |
claudinei@3389 | 4 SOURCE="Django" |
slaxemulator@9464 | 5 VERSION="1.3" |
claudinei@3389 | 6 CATEGORY="development" |
claudinei@3389 | 7 SHORT_DESC="Django is a high-level Python Web framework." |
claudinei@3389 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3389 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3389 | 10 WEB_SITE="http://www.djangoproject.com/" |
claudinei@3774 | 11 WGET_URL="http://media.djangoproject.com/releases/$VERSION/$TARBALL" |
claudinei@3413 | 12 DEPENDS="python python-pysqlite" |
claudinei@3389 | 13 SUGGESTED="python-mysql" |
slaxemulator@9464 | 14 BUILD_DEPENDS="setuptools" |
claudinei@3389 | 15 |
claudinei@3389 | 16 # Rules to configure and make the package. |
claudinei@3389 | 17 compile_rules() |
claudinei@3389 | 18 { |
claudinei@3389 | 19 cd $src |
slaxemulator@9464 | 20 python setup.py install --root=$DESTDIR |
claudinei@3389 | 21 } |
claudinei@3389 | 22 |
claudinei@3389 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3389 | 24 genpkg_rules() |
claudinei@3389 | 25 { |
claudinei@3389 | 26 mkdir -p $fs/usr |
claudinei@3389 | 27 cp -a $_pkg/usr $fs |
claudinei@3389 | 28 } |
claudinei@3389 | 29 |
claudinei@3404 | 30 # Remove old package. |
claudinei@3404 | 31 post_install() |
claudinei@3404 | 32 { |
claudinei@3404 | 33 rm -rf $1/var/lib/tazpkg/installed/django |
claudinei@3413 | 34 } |