summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2011-06-21 21:16:13 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2011-06-27 13:18:34 +0200
commit7bb73f42cb40674a963737392c00c57e53a7a0ec (patch)
tree785a41e7671d875aad9da3c5d4d45c3a730cea0e
parentb43e4edf3d78f2052ea888b34d24f913f5554361 (diff)
downloadptxdist-7bb73f42cb40674a963737392c00c57e53a7a0ec.tar.gz
ptxdist-7bb73f42cb40674a963737392c00c57e53a7a0ec.tar.xz
flup: added
This package is necessary to handle fcgi applications in python. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r--rules/flup.in10
-rw-r--r--rules/flup.make75
2 files changed, 85 insertions, 0 deletions
diff --git a/rules/flup.in b/rules/flup.in
new file mode 100644
index 000000000..a71d9eb30
--- /dev/null
+++ b/rules/flup.in
@@ -0,0 +1,10 @@
+## SECTION=networking
+
+config FLUP
+ tristate
+ select PYTHON
+ prompt "flup"
+ help
+ A python package that provides a collection of WSGI modules,
+ including fastcgi.
+
diff --git a/rules/flup.make b/rules/flup.make
new file mode 100644
index 000000000..976c28271
--- /dev/null
+++ b/rules/flup.make
@@ -0,0 +1,75 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2011 by Robert Schwebel <r.schwebel@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_FLUP) += flup
+
+#
+# Paths and names
+#
+FLUP_VERSION := 1.0.2
+FLUP_MD5 := 24dad7edc5ada31dddd49456ee8d5254
+FLUP := flup-$(FLUP_VERSION)
+FLUP_SUFFIX := tar.gz
+FLUP_URL := http://www.saddi.com/software/flup/dist/$(FLUP).$(FLUP_SUFFIX)
+FLUP_SOURCE := $(SRCDIR)/$(FLUP).$(FLUP_SUFFIX)
+FLUP_DIR := $(BUILDDIR)/$(FLUP)
+FLUP_LICENSE := unknown
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+FLUP_PATH := PATH=$(CROSS_PATH)
+FLUP_CONF_ENV := $(CROSS_ENV)
+FLUP_CONF_TOOL := NO
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/flup.compile:
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/flup.install:
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/flup.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, flup)
+ @$(call install_fixup, flup,PRIORITY,optional)
+ @$(call install_fixup, flup,SECTION,base)
+ @$(call install_fixup, flup,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
+ @$(call install_fixup, flup,DESCRIPTION,missing)
+
+ for i in $(shell cd $(FLUP_DIR)/flup && find . -name "*.py"); do \
+ $(call install_copy, flup, 0, 0, 0644, \
+ $(FLUP_DIR)/flup/$$i, \
+ $(PYTHON_SITEPACKAGES)/flup/$$i) \
+ done
+
+ @$(call install_finish, flup)
+
+ @$(call touch)
+
+# vim: syntax=make