2 # Copyright (C) 2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=python-django
14 PKG_SOURCE
:=Django-
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://media.djangoproject.com
/releases
/1.3/
16 PKG_MD5SUM
:=62d8642fd06b9a0bf8544178f8500767
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/Django-
$(PKG_VERSION
)
19 PKG_BUILD_DEPENDS
:=python
21 include $(INCLUDE_DIR
)/package.mk
22 $(call include_mk
, python-package.mk
)
24 define Package
/python-django
25 SECTION
:=language-python
28 TITLE
:=Django Web framework
29 URL
:=https
://www.djangoproject.com
/
33 define Package
/python-django
/description
34 Django is a high-level Python Web framework that encourages rapid
35 development and
clean, pragmatic design.
39 $(call Build
/Compile
/PyMod
,.
, \
40 install --prefix="/usr" --root
="$(PKG_INSTALL_DIR)" \
44 define Package
/python-django
/install
45 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
47 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
48 $(1)$(PYTHON_PKG_DIR
)/
51 $(eval
$(call BuildPackage
,python-django
))