###############################################################################
-# #
-# 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 = mpfr
-PKG_VER = 3.0.0
-PKG_REL = 0
-
-PKG_MAINTAINER =
-PKG_GROUPS = System/Libraries
-PKG_URL = http://www.mpfr.org/
-PKG_LICENSE = LGPLv2+ and GPLv2+ and GFDL
-PKG_SUMMARY = A C library for multiple-precision floating-point computations.
-
-PKG_BUILD_DEPS+= gmp-devel
-
-define PKG_DESCRIPTION
- The MPFR library is a C library for multiple-precision floating-point \
- computations with correct rounding. The MPFR is efficient and \
- also has a well-defined semantics. It copies the good ideas from the \
- ANSI/IEEE-754 standard for double-precision floating-point arithmetic \
- (53-bit mantissa). MPFR is based on the GMP multiple-precision \
+name = mpfr
+version = 3.0.0
+release = 1
+
+groups = System/Libraries
+url = http://www.mpfr.org/
+license = LGPLv2+ and GPLv2+ and GFDL
+summary = A C library for multiple-precision floating-point computations.
+
+description
+ The MPFR library is a C library for multiple-precision floating-point
+ computations with correct rounding. The MPFR is efficient and
+ also has a well-defined semantics. It copies the good ideas from the
+ ANSI/IEEE-754 standard for double-precision floating-point arithmetic
+ (53-bit mantissa). MPFR is based on the GMP multiple-precision
library.
-endef
-
-PKG_TARBALL = $(THISAPP).tar.gz
-
-PKG_PACKAGES += $(PKG_NAME_REAL)-devel
-
-ifeq "$(MACHINE)" "x86_64"
- ABI = 64
-else
- ABI = 32
-endif
-
-CONFIGURE_OPTIONS += --enable-thread-safe
-
-define STAGE_TEST
- cd $(DIR_APP) && make check
-endef
+end
+
+source_dl =
+
+build
+ requires
+ gmp-devel
+ end
+
+ configure_options += \
+ --enable-thread-safe
+
+ test
+ make check
+ end
+end
+
+packages
+ package %{name}
+
+ package %{name}-devel
+ template DEVEL
+ end
+end