]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pkgs/cloog-ppl/cloog-ppl.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / cloog-ppl / cloog-ppl.nm
index 098d682fe145cfc1cc6380860c46cd39104dd8b9..82f120f29fdc34888481611e1660e115afb5fa92 100644 (file)
@@ -1,60 +1,52 @@
 ###############################################################################
-#                                                                             #
-# 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       = cloog-ppl
-PKG_VER        = 0.15.9
-PKG_REL        = 3
-
-PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
-PKG_GROUPS     = System/Libraries
-PKG_URL        = http://www.cloog.org
-PKG_LICENSE    = GPLv2+
-PKG_SUMMARY    = The Chunky Loop Generator.
+name       = cloog-ppl
+version    = 0.15.9
+release    = 3
 
-PKG_BUILD_DEPS+= autoconf automake gmp-devel m4 ppl-devel>=0.11.2
+maintainer = Michael Tremer <michael.tremer@ipfire.org>
+groups     = System/Libraries
+url        = http://www.cloog.org
+license    = GPLv2+
+summary    = The Chunky Loop Generator.
 
-define PKG_DESCRIPTION
+description
        CLooG is a software which generates loops for scanning Z-polyhedra. That is, \
        CLooG finds the code or pseudo-code where each integral point of one or more \
        parametrized polyhedron or parametrized polyhedra union is reached. CLooG is \
        designed to avoid control overhead and to produce a very efficient code.
-endef
-
-PKG_TARBALL    = $(THISAPP).tar.gz
-
-PKG_PACKAGES  += $(PKG_NAME_REAL)-devel
-
-CONFIGURE_OPTIONS += \
-       --with-ppl
-
-define STAGE_PREPARE_CMDS
-       cd $(DIR_APP) && sed -i configure \
-               -e "s/ppl_minor_version=10/ppl_minor_version=11/"
-endef
-
-define STAGE_TEST
-       cd $(DIR_APP) && make check
-endef
+end
+
+build
+       requires
+               autoconf
+               automake
+               gmp-devel
+               m4
+               ppl-devel>=0.11.2
+       end
+
+       configure_options += \
+               --with-ppl
+
+       prepare_cmds
+               sed -i configure \
+                       -e "s/ppl_minor_version=10/ppl_minor_version=11/"
+       end
+
+       test
+               make check
+       end
+end
+
+packages
+       package %{name}
+       end
+       
+       package %{name}-devel
+               template DEVEL
+       end
+end