wok-current annotate python-django/receipt @ rev 18405
libcanberra: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 19 09:52:06 2015 +0200 (2015-09-19) |
parents | d3eb5f4b53ea |
children | 1067bb7f1e24 |
rev | line source |
---|---|
claudinei@3389 | 1 # SliTaz package receipt. |
claudinei@3389 | 2 |
claudinei@3389 | 3 PACKAGE="python-django" |
claudinei@3389 | 4 SOURCE="Django" |
claudinei@14875 | 5 VERSION="1.5.1" |
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" |
pascal@15378 | 9 LICENSE="BSD" |
claudinei@3389 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@14875 | 11 WEB_SITE="https://www.djangoproject.com/" |
pascal@17869 | 12 WGET_URL="https://www.djangoproject.com/m/releases/${VERSION%.*}/$TARBALL" |
pascal@15378 | 13 SUGGESTED="python-mysql" |
pascal@15378 | 14 |
claudinei@3413 | 15 DEPENDS="python python-pysqlite" |
claudinei@14875 | 16 BUILD_DEPENDS="setuptools wget" |
claudinei@3389 | 17 |
claudinei@3389 | 18 # Rules to configure and make the package. |
claudinei@3389 | 19 compile_rules() |
claudinei@3389 | 20 { |
slaxemulator@9464 | 21 python setup.py install --root=$DESTDIR |
claudinei@3389 | 22 } |
claudinei@3389 | 23 |
claudinei@3389 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3389 | 25 genpkg_rules() |
claudinei@3389 | 26 { |
claudinei@3389 | 27 mkdir -p $fs/usr |
claudinei@14875 | 28 cp -a $install/usr $fs |
claudinei@3389 | 29 } |
claudinei@3389 | 30 |
claudinei@3404 | 31 # Remove old package. |
claudinei@3404 | 32 post_install() |
claudinei@3404 | 33 { |
claudinei@3404 | 34 rm -rf $1/var/lib/tazpkg/installed/django |
claudinei@3413 | 35 } |
al@18077 | 36 |