]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pkgs/python-tornado/python-tornado.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / python-tornado / python-tornado.nm
index 50ffc9286fe8ec98f6ca4d404939e3f456d6512f..124265504c024b3edc8b5ff9bc94033a092f49e6 100644 (file)
@@ -1,54 +1,42 @@
 ###############################################################################
-#                                                                             #
-# 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 <http://www.gnu.org/licenses/>.       #
-#                                                                             #
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
 ###############################################################################
 
-###############################################################################
-# Definitions
-###############################################################################
-
-include $(PKGROOT)/Include
-
-PKG_NAME       = tornado
-PKG_VER        = 0.2
-PKG_REL        = 1
-PKG_ARCH       = noarch
-
-PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
-PKG_GROUPS     = Development/Libraries
-PKG_URL        = http://www.tornadoweb.org/
-PKG_LICENSE    = Apache2.0
-PKG_SUMMARY    = A python based non-blocking web server.
+name       = python-tornado
+version    = 0.2
+release    = 1
+arch       = noarch
+thisapp    = tornado-%{version}
+
+maintainer = Michael Tremer <michael.tremer@ipfire.org>
+groups     = Development/Libraries
+url        = http://www.tornadoweb.org/
+license    = Apache2.0
+summary    = A python based non-blocking web server.
+
+description
+       The framework is distinct from most mainstream web server frameworks
+       (and certainly most Python frameworks) because it is non-blocking
+       and reasonably fast.
+end
 
-PKG_BUILD_DEPS+= python-devel
+source_dl  =
 
-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
+build
+       requires
+               python-devel
+       end
 
-PKG_TARBALL    = $(THISAPP).tar.gz
+       build
+               python setup.py build
+       end
 
-define STAGE_BUILD
-       cd $(DIR_APP) && python setup.py build
-endef
+       install
+               python setup.py install --skip-build --root=%{BUILDROOT}
+       end
+end
 
-define STAGE_INSTALL   
-       cd $(DIR_APP) && python setup.py install --skip-build --root=$(BUILDROOT)
-endef
+packages
+       package %{name}
+end