gmp: update to 5.0.3.
This commit is contained in:
parent
ab22cd399b
commit
faa10e27c9
1 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Template build file for 'gmp'
|
# Template build file for 'gmp'
|
||||||
pkgname=gmp
|
pkgname=gmp
|
||||||
version=5.0.2
|
version=5.0.3
|
||||||
|
homepage="http://gmplib.org/"
|
||||||
distfiles="${GNU_SITE}/gmp/gmp-${version}.tar.bz2"
|
distfiles="${GNU_SITE}/gmp/gmp-${version}.tar.bz2"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
# Build with -fexceptions as suggested by ppl.
|
# 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"
|
--build=${XBPS_MACHINE}-unknown-linux-gnu"
|
||||||
short_desc="Library for arbitrary precision arithmetic"
|
short_desc="Library for arbitrary precision arithmetic"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=dbc2db76fdd4e99f85d5e35aa378ed62c283e0d586b91bd8703aff75a7804c28
|
license="LGPL-3"
|
||||||
|
checksum=dcafe9989c7f332b373e1f766af8e9cd790fc802fdec422a1910a6ef783480e3
|
||||||
long_desc="
|
long_desc="
|
||||||
GNU MP is a library for arbitrary precision arithmetic, operating on signed
|
GNU MP is a library for arbitrary precision arithmetic, operating on signed
|
||||||
integers, rational numbers, and floating point numbers. It has a rich set
|
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
|
Add_dependency build gettext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
post_install()
|
post_install() {
|
||||||
{
|
|
||||||
# Required for multilib build.
|
# Required for multilib build.
|
||||||
if grep -q "\-m32" ${DESTDIR}/usr/include/gmp.h; then
|
if grep -q "\-m32" ${DESTDIR}/usr/include/gmp.h; then
|
||||||
sed -i "s|\-m32 ||g" ${DESTDIR}/usr/include/gmp.h
|
sed -i "s|\-m32 ||g" ${DESTDIR}/usr/include/gmp.h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue