]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - pkgs/python-progressbar/python-progressbar.nm
Change file layout of the makefiles.
[ipfire-3.x.git] / pkgs / python-progressbar / python-progressbar.nm
index bf107fb49284e47090abba7499ca14faef8ca9b7..94e986713cfe52b7bb1e3b236dd308c06c1b11e1 100644 (file)
@@ -1,54 +1,41 @@
 ###############################################################################
-#                                                                             #
-# 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
+name       = python-progressbar
+version    = 2.2
+release    = 1
+arch       = noarch
+thisapp    = progressbar-%{version}
 
-PKG_NAME       = progressbar
-PKG_VER        = 2.2
-PKG_REL        = 0
-PKG_ARCH       = noarch
+groups     = System/Libraries
+url        = http://pypi.python.org/pypi/progressbar
+license    = LGPLv2+
+summary    = Text progressbar library for python.
 
-PKG_MAINTAINER =
-PKG_GROUPS     = System/Libraries
-PKG_URL        = http://pypi.python.org/pypi/progressbar
-PKG_LICENSE    = LGPLv2+
-PKG_SUMMARY    = Text progressbar library for python.
+description
+       This library provides a text mode progress bar. This is typically used to
+       display the progress of a long running operation, providing a visual clue that
+       processing is under way.
+end
 
-PKG_BUILD_DEPS+= python-devel
+source_dl  =
 
-define PKG_DESCRIPTION
-       This library provides a text mode progress bar. This is typically used to \
-       display the progress of a long running operation, providing a visual clue that \
-       processing is under way.
-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 --root=%{BUILDROOT}
+       end
+end
 
-define STAGE_INSTALL   
-       cd $(DIR_APP) && python setup.py install --root=$(BUILDROOT)
-endef
+packages
+       package %{name}
+end