]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - pkgs/python-qtermwidget/python-qtermwidget.nm
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / pkgs / python-qtermwidget / python-qtermwidget.nm
index b6ff59129de85032365ffbf28e09e98599417b5d..bd8c2a3ac5fe05c70780e763f86ac90d4cb1eeca 100644 (file)
@@ -1,50 +1,43 @@
 ###############################################################################
-#                                                                             #
-# 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       = python-qtermwidget
-PKG_VER        = 0.1.2
-PKG_REL        = 1
+name       = python-qtermwidget
+version    = 0.1.2
+release    = 1
 
-PKG_MAINTAINER =
-PKG_GROUPS     = Development/Languages 
-PKG_URL        = http://code.google.com/p/pyqt4-extrawidgets/downloads/list 
-PKG_LICENSE    = GPLv2+
-PKG_SUMMARY    = PyQt4 Bindings for QTermWidget.
+groups     = Development/Languages
+url        = http://code.google.com/p/pyqt4-extrawidgets/downloads/list
+license    = GPLv2+
+summary    = PyQt4 Bindings for QTermWidget.
 
-PKG_BUILD_DEPS+= gcc-c++ pyQt pyQt-devel python-devel qt qtermwidget-devel sip-devel
-
-define PKG_DESCRIPTION
+description
        PyQt4 Bindings for QTermWidget.
-endef
-
-PKG_TARBALL    = qtermwidget-$(PKG_VER).tar.gz
-
-DIR_APP        = $(DIR_SRC)/qtermwidget
-
-define STAGE_BUILD
-       cd $(DIR_APP) && python config.py
-       cd $(DIR_APP) && make
-endef
+end
+
+source_dl  =
+sources    = qtermwidget-%{version}.tar.gz
+
+build
+       requires
+               gcc-c++
+               pyQt
+               pyQt-devel
+               python-devel
+               qt
+               qtermwidget-devel
+               sip-devel
+       end
+
+       DIR_APP = %{DIR_SRC}/qtermwidget
+
+       build
+               python config.py
+               make
+       end
+end
+
+packages
+       package %{name}
+end