void-packages/srcpkgs/gmp/template
Juan RP 2c2bbf8b50 gmp: downgrade to 4.3.2. 5.0.1 is ABI incompatible...
--HG--
extra : convert_revision : 8476cc682e77bc2efc4a709ee206b662277dbae4
2010-02-16 00:16:13 +01:00

32 lines
1.4 KiB
Text

# Template build file for 'gmp'
pkgname=gmp
version=4.3.2
distfiles="ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.bz2"
build_style=gnu_configure
# Build with -fexceptions as suggested by ppl.
CPPFLAGS="-fexceptions"
configure_args="--enable-cxx --enable-mpbsd --build=${xbps_machine}-pc-linux-gnu"
short_desc="Library for arbitrary precision arithmetic"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=936162c0312886c21581002b79932829aa048cfaf9937c6265aeaa14f1cd1775
long_desc="
GNU MP is a library for arbitrary precision arithmetic, operating on signed
integers, rational numbers, and floating point numbers. It has a rich set
of functions, and the functions have a regular interface.
GNU MP is designed to be as fast as possible, both for small operands and for
huge operands. The speed is achieved by using fullwords as the basic
arithmetic type, by using fast algorithms, by carefully optimized assembly
code for the most common inner loops for a lots of CPUs, and by a general
emphasis on speed (instead of simplicity or elegance).
The speed of GNU MP is believed to be faster than any other similar library.
The advantage for GNU MP increases with the operand sizes for certain
operations, since GNU MP in many cases has asymptotically faster algorithms."
base_chroot=yes
subpackages="gmp-devel"
Add_dependency build m4
Add_dependency run glibc
Add_dependency run libgcc
Add_dependency run libstdc++