###############################################################################
-# #
-# 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 = ppl
-PKG_VER = 0.11.2
-PKG_REL = 1
-
-PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
-PKG_GROUPS = Development/Libraries
-PKG_URL = http://www.cs.unipr.it/ppl/
-PKG_LICENSE = GPLv3+
-PKG_SUMMARY = The Parma Polyhedra Library: a library of numerical abstractions.
-
-PKG_BUILD_DEPS+= autoconf automake gcc-c++ gmp-devel m4
-
-define PKG_DESCRIPTION
- The Parma Polyhedra Library (PPL) is a library for the manipulation of \
- (not necessarily closed) convex polyhedra and other numerical \
- abstractions. The applications of convex polyhedra include program \
- analysis, optimized compilation, integer and combinatorial \
- optimization and statistical data-editing. The Parma Polyhedra \
- Library comes with several user friendly interfaces, is fully dynamic \
- (available virtual memory is the only limitation to the dimension of \
- anything), written in accordance to all the applicable standards, \
- exception-safe, rather efficient, thoroughly documented, and free \
- software. This package provides all what is necessary to run \
+name = ppl
+version = 0.11.2
+release = 1
+
+maintainer = Michael Tremer <michael.tremer@ipfire.org>
+groups = Development/Libraries
+url = http://www.cs.unipr.it/ppl/
+license = GPLv3+
+summary = The Parma Polyhedra Library: a library of numerical abstractions.
+
+description
+ The Parma Polyhedra Library (PPL) is a library for the manipulation of
+ (not necessarily closed) convex polyhedra and other numerical
+ abstractions. The applications of convex polyhedra include program
+ analysis, optimized compilation, integer and combinatorial
+ optimization and statistical data-editing. The Parma Polyhedra
+ Library comes with several user friendly interfaces, is fully dynamic
+ (available virtual memory is the only limitation to the dimension of
+ anything), written in accordance to all the applicable standards,
+ exception-safe, rather efficient, thoroughly documented, and free
+ software. This package provides all what is necessary to run
applications using the PPL through its C and C++ interfaces.
-endef
-
-PKG_TARBALL = $(THISAPP).tar.lzma
-
-PKG_PACKAGES += $(PKG_NAME_REAL)-devel
-
-CONFIGURE_OPTIONS += \
- --enable-interfaces="c cxx" \
- --disable-debugging
-
-PARALLELISMFLAGS =
-
-define STAGE_PREPARE_CMDS
- cd $(DIR_APP) && autoreconf -f
-endef
-
-define STAGE_TEST
- cd $(DIR_APP) && make check
-endef
+end
+
+source_dl =
+sources = %{thisapp}.tar.lzma
+
+build
+ requires
+ autoconf
+ automake
+ gcc-c++
+ gmp-devel
+ m4
+ end
+
+ configure_options += \
+ --enable-interfaces="c cxx" \
+ --disable-debugging
+
+ PARALLELISMFLAGS =
+
+ prepare_cmds
+ cd %{DIR_APP} && autoreconf -f
+ end
+
+ test
+ make check
+ end
+end
+
+packages
+ package %{name}
+end