diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-13 07:53:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-13 07:54:20 +0000 |
commit | 94af7a5a1c5acc82ff3a2a276fb04aec2948afd2 (patch) | |
tree | 322285ebfd0297b357f7f34221c6e71c1e02e78f /main/gmp | |
parent | dab48b775f854b4d2db8720e52e26910f7914999 (diff) | |
download | aports-94af7a5a1c5acc82ff3a2a276fb04aec2948afd2.tar.bz2 aports-94af7a5a1c5acc82ff3a2a276fb04aec2948afd2.tar.xz |
main/gmp: upgrade to 6.1.0
Diffstat (limited to 'main/gmp')
-rw-r--r-- | main/gmp/APKBUILD | 16 |
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" |