gmp: update to 5.0.3.

This commit is contained in:
Juan RP 2012-01-27 14:54:50 +01:00
parent ab22cd399b
commit faa10e27c9

View file

@ -1,6 +1,7 @@
# Template build file for 'gmp'
pkgname=gmp
version=5.0.2
version=5.0.3
homepage="http://gmplib.org/"
distfiles="${GNU_SITE}/gmp/gmp-${version}.tar.bz2"
build_style=gnu-configure
# Build with -fexceptions as suggested by ppl.
@ -12,7 +13,8 @@ configure_args="${configure_args} --enable-cxx --enable-mpbsd
--build=${XBPS_MACHINE}-unknown-linux-gnu"
short_desc="Library for arbitrary precision arithmetic"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=dbc2db76fdd4e99f85d5e35aa378ed62c283e0d586b91bd8703aff75a7804c28
license="LGPL-3"
checksum=dcafe9989c7f332b373e1f766af8e9cd790fc802fdec422a1910a6ef783480e3
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
@ -36,8 +38,7 @@ if [ -n "$BOOTSTRAP_PKG_REBUILD" ]; then
Add_dependency build gettext
fi
post_install()
{
post_install() {
# Required for multilib build.
if grep -q "\-m32" ${DESTDIR}/usr/include/gmp.h; then
sed -i "s|\-m32 ||g" ${DESTDIR}/usr/include/gmp.h