aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/gmp/APKBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/main/gmp/APKBUILD b/main/gmp/APKBUILD
index 568190563c..d562f9b526 100644
--- a/main/gmp/APKBUILD
+++ b/main/gmp/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gmp
-pkgver=6.0.0a
-pkgrel=1
+pkgver=6.1.0
+pkgrel=0
pkgdesc="A free library for arbitrary precision arithmetic"
url="http://gmplib.org/"
arch="all"
@@ -9,7 +9,7 @@ license="LGPL3"
makedepends="m4 texinfo"
depends=
subpackages="$pkgname-doc $pkgname-dev libgmpxx"
-source="ftp://ftp.gnu.org/gnu/gmp/gmp-$pkgver.tar.bz2
+source="https://gmplib.org/download/gmp/gmp-$pkgver.tar.xz
"
replaces="gmp5"
_builddir="$srcdir"/gmp-${pkgver%[a-z]}
@@ -33,7 +33,9 @@ build() {
--with-pic \
|| return 1
make || return 1
- make check || return 1
+ if [ "$CBUILD" = "$CHOST" ]; then
+ make check || return 1
+ fi
}
package() {
@@ -52,6 +54,6 @@ doc() {
replaces="gmp5-doc"
}
-md5sums="b7ff2d88cae7f8085bd5006096eed470 gmp-6.0.0a.tar.bz2"
-sha256sums="7f8e9a804b9c6d07164cf754207be838ece1219425d64e28cfa3e70d5c759aaf gmp-6.0.0a.tar.bz2"
-sha512sums="04c8fde7f6e9c2e42753cebf6345d74ef6bdae5ef764df303b6615d17c8d851ac2876ca32c6ba5e111a8d07575c8b725c7b90518a6616be27a7b46d6aeb82c1a gmp-6.0.0a.tar.bz2"
+md5sums="a9868ef2556ad6a2909babcd1428f3c7 gmp-6.1.0.tar.xz"
+sha256sums="68dadacce515b0f8a54f510edf07c1b636492bcdb8e8d54c56eb216225d16989 gmp-6.1.0.tar.xz"
+sha512sums="3647f07914e6c01b28d94f2d9783e50b0ca9f742a694f56d5759e79a057143ded578b71707ff909c6b0f5710862974606461608e73b33af3114b5338670d8630 gmp-6.1.0.tar.xz"