]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
mpc: New package.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 21 Apr 2010 12:02:15 +0000 (14:02 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 21 Apr 2010 12:02:15 +0000 (14:02 +0200)
pkgs/core/mpc/mpc.nm [new file with mode: 0644]

diff --git a/pkgs/core/mpc/mpc.nm b/pkgs/core/mpc/mpc.nm
new file mode 100644 (file)
index 0000000..54fca7f
--- /dev/null
@@ -0,0 +1,49 @@
+###############################################################################
+#                                                                             #
+# 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/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include $(PKGROOT)/Include
+
+PKG_NAME       = mpc
+PKG_VER        = 0.8.1
+PKG_REL        = 0
+
+PKG_MAINTAINER =
+PKG_GROUP      = System/Libraries
+PKG_URL        = http://www.multiprecision.org/
+PKG_LICENSE    = LGPLv2.1+
+PKG_SUMMARY    = Mpc is a C library for the arithmetic of complex numbers.
+
+PKG_DEPS      += gmp mpfr
+
+define PKG_DESCRIPTION
+       Mpc is a C library for the arithmetic of complex numbers with \
+       arbitrarily high precision and correct rounding of the result. \
+       It is built upon and follows the same principles as Mpfr.
+endef
+
+PKG_TARBALL    = $(THISAPP).tar.gz
+
+define STAGE_TEST
+       cd $(DIR_APP) && make check
+endef