From: Stefan Schantl Date: Sun, 21 Feb 2010 21:27:57 +0000 (+0100) Subject: python-tornado: New package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecf0da53ea80435c5a2443f3281a51aa90247eea;p=ipfire-3.x.git python-tornado: New package. --- diff --git a/pkgs/core/python-tornado/python-tornado.nm b/pkgs/core/python-tornado/python-tornado.nm new file mode 100644 index 000000000..67aadb9ce --- /dev/null +++ b/pkgs/core/python-tornado/python-tornado.nm @@ -0,0 +1,53 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include $(PKGROOT)/Include + +PKG_NAME = tornado +PKG_VER = 0.2 +PKG_REL = 0 + +PKG_MAINTAINER = Michael Tremer +PKG_GROUP = Development/Libraries +PKG_URL = http://www.tornadoweb.org/ +PKG_LICENSE = Apache2.0 +PKG_SUMMARY = A python based non-blocking web server. + +PKG_DEPS += python + +define PKG_DESCRIPTION + The framework is distinct from most mainstream web server frameworks \ + (and certainly most Python frameworks) because it is non-blocking \ + and reasonably fast. +endef + +PKG_TARBALL = $(THISAPP).tar.gz + +define STAGE_BUILD + cd $(DIR_APP) && python setup.py build +endef + +define STAGE_INSTALL + cd $(DIR_APP) && python setup.py install --skip-build --root=$(BUILDROOT) +endef