1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
# -*-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://pypi.python.org/packages/source/f/flup/$(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)
@cd $(FLUP_DIR) && \
$(FLUP_PATH) $(FLUP_MAKE_ENV) \
$(CROSS_PYTHON) setup.py install --root=$(FLUP_PKGDIR) --prefix=/usr
@$(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)
@$(call install_copy, flup, 0, 0, 0755, $(PYTHON_SITEPACKAGES))
@$(call install_copy, flup, 0, 0, 0755, $(PYTHON_SITEPACKAGES)/flup)
@$(call install_copy, flup, 0, 0, 0755, $(PYTHON_SITEPACKAGES)/flup/client)
@$(call install_copy, flup, 0, 0, 0755, $(PYTHON_SITEPACKAGES)/flup/server)
for file in $(shell cd $(FLUP_PKGDIR) && find . -name "*.pyc"); \
do \
$(call install_copy, flup, 0, 0, 0644, -, /$$file) \
done
@$(call install_finish, flup)
@$(call touch)
# vim: syntax=make
|