wok view python-django/receipt @ rev 21343
updated libxfconf and libxfconf-dev (4.10.0 -> 4.13.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 20 15:09:02 2019 +0100 (2019-04-20) |
parents | 1067bb7f1e24 |
children | 5d50a02468c7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-django"
4 SOURCE="Django"
5 VERSION="1.5.1"
6 CATEGORY="development"
7 SHORT_DESC="Django is a high-level Python Web framework."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://www.djangoproject.com/"
12 WGET_URL="https://www.djangoproject.com/m/releases/${VERSION%.*}/$TARBALL"
13 SUGGESTED="python-mysql"
15 DEPENDS="python python-pysqlite"
16 BUILD_DEPENDS="setuptools wget"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr $fs
29 }
31 # Remove old package.
32 post_install()
33 {
34 [ ! -d "$1/var/lib/tazpkg/installed/django" ] ||
35 rm -rf "$1/var/lib/tazpkg/installed/django"
36 }