]> git.ipfire.org Git - ipfire-3.x.git/blob - lfs/python-tornado
Update python-tornado to 0.2.
[ipfire-3.x.git] / lfs / python-tornado
1 ###############################################################################
2 # #
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008, 2009 Michael Tremer & Christian Schmidt #
5 # #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
10 # #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
15 # #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
18 # #
19 ###############################################################################
20
21 ###############################################################################
22 # Definitions
23 ###############################################################################
24
25 include Config
26
27 PKG_NAME = tornado
28 PKG_VER = 0.2
29 PKG_REL = 0
30
31 THISAPP = $(PKG_NAME)-$(PKG_VER)
32 DL_FILE = $(THISAPP).tar.gz
33 DIR_APP = $(DIR_SRC)/$(THISAPP)
34
35 OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
36
37 MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
38 GROUP = Development/Libraries
39 CORE = yes
40 EXTRA = no
41 DEBUG = no
42 BUILD_DEPS =
43 DEPS = python
44
45 URL = http://www.tornadoweb.org/
46 LICENSE = Apache2.0
47 SHORT_DESC = A python based non-blocking web server.
48
49 define LONG_DESC
50 The framework is distinct from most mainstream web server frameworks \
51 (and certainly most Python frameworks) because it is non-blocking \
52 and reasonably fast.
53 endef
54
55 ###############################################################################
56 # Top-level Rules
57 ###############################################################################
58
59 objects = $(DL_FILE)
60
61 download: $(objects)
62
63 info:
64 $(DO_PKG_INFO)
65
66 install: $(OBJECT)
67
68 packages: $(PACKAGES)
69
70 $(PACKAGES): $(OBJECT)
71 @$(DO_PACKAGE)
72
73 $(objects):
74 @$(LOAD)
75
76 ###############################################################################
77 # Installation Details
78 ###############################################################################
79
80 $(OBJECT): $(objects)
81 @$(PREBUILD)
82 @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
83
84 cd $(DIR_APP) && python setup.py build
85 cd $(DIR_APP) && python setup.py install --skip-build
86
87 $(PYTHON_COMPILE)
88
89 @rm -rf $(DIR_APP)
90 @$(POSTBUILD)