summaryrefslogtreecommitdiffstats
path: root/rules/flup6.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2015-09-03 21:40:52 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-09-21 10:19:22 +0200
commit59c4b6f03b3dbea2d0dd9064b0118aa18e80a6c9 (patch)
treee8f885d790cd7b7ab19b87ba3279ae0e5cffde3b /rules/flup6.make
parent0d3ed18d9eb083c9c6cafbe73f201cacd21ec125 (diff)
downloadptxdist-59c4b6f03b3dbea2d0dd9064b0118aa18e80a6c9.tar.gz
ptxdist-59c4b6f03b3dbea2d0dd9064b0118aa18e80a6c9.tar.xz
flup6: new package
Flup6 does also support python3. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'rules/flup6.make')
-rw-r--r--rules/flup6.make61
1 files changed, 61 insertions, 0 deletions
diff --git a/rules/flup6.make b/rules/flup6.make
new file mode 100644
index 000000000..0511008e9
--- /dev/null
+++ b/rules/flup6.make
@@ -0,0 +1,61 @@
+# -*-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_FLUP6) += flup6
+
+#
+# Paths and names
+#
+FLUP6_VERSION := 1.1
+FLUP6_MD5 := 67c20571a6e637b1f457031767fe8ae7
+FLUP6 := flup6-$(FLUP6_VERSION)
+FLUP6_SUFFIX := tar.gz
+FLUP6_URL := http://pypi.python.org/packages/source/f/flup6/$(FLUP6).$(FLUP6_SUFFIX)
+FLUP6_SOURCE := $(SRCDIR)/$(FLUP6).$(FLUP6_SUFFIX)
+FLUP6_DIR := $(BUILDDIR)/$(FLUP6)
+FLUP6_LICENSE := BSD, MIT
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+FLUP6_CONF_TOOL := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/flup6.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, flup6)
+ @$(call install_fixup, flup6,PRIORITY,optional)
+ @$(call install_fixup, flup6,SECTION,base)
+ @$(call install_fixup, flup6,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
+ @$(call install_fixup, flup6,DESCRIPTION,missing)
+
+ @$(call install_copy, flup6, 0, 0, 0755, $(PYTHON_SITEPACKAGES))
+ @$(call install_copy, flup6, 0, 0, 0755, $(PYTHON_SITEPACKAGES)/flup6)
+ @$(call install_copy, flup6, 0, 0, 0755, $(PYTHON_SITEPACKAGES)/flup6/client)
+ @$(call install_copy, flup6, 0, 0, 0755, $(PYTHON_SITEPACKAGES)/flup6/server)
+
+ for file in $(shell cd $(FLUP6_PKGDIR) && find . -name "*.pyc"); \
+ do \
+ $(call install_copy, flup6, 0, 0, 0644, -, /$$file) \
+ done
+
+ @$(call install_finish, flup6)
+
+ @$(call touch)
+
+# vim: syntax=make