diff options
Diffstat (limited to 'system/gmp/APKBUILD')
-rw-r--r-- | system/gmp/APKBUILD | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/system/gmp/APKBUILD b/system/gmp/APKBUILD index 69f4b2c9c..e5c71a783 100644 --- a/system/gmp/APKBUILD +++ b/system/gmp/APKBUILD @@ -1,26 +1,22 @@ # Maintainer: Adelie Platform Group <adelie-devel@lists.adelielinux.org> pkgname=gmp -pkgver=6.1.2 -pkgrel=1 +pkgver=6.2.1 +pkgrel=2 pkgdesc="A free library for arbitrary precision arithmetic" url="https://gmplib.org/" arch="all" license="LGPL-3.0+ OR GPL-2.0+" -makedepends="m4 texinfo libtool" -depends= +depends="" +makedepends="autoconf automake m4 texinfo libtool" subpackages="$pkgname-doc $pkgname-dev libgmpxx" -source="https://gmplib.org/download/gmp/gmp-$pkgver.tar.xz - " +source="https://gmplib.org/download/gmp/gmp-$pkgver.tar.xz" prepare() { - cd "$builddir" default_prepare - # force update to libtool with fixed cross-build support - libtoolize -f + autoreconf -i } build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -35,12 +31,10 @@ build() { } package() { - cd "$builddir" make -j1 DESTDIR="${pkgdir}" install } check() { - cd "$builddir" [ "$CBUILD" = "$CHOST" ] && make check } @@ -50,4 +44,4 @@ libgmpxx() { mv "$pkgdir"/usr/lib/libgmpxx.so.* "$subpkgdir"/usr/lib/ } -sha512sums="9f098281c0593b76ee174b722936952671fab1dae353ce3ed436a31fe2bc9d542eca752353f6645b7077c1f395ab4fdd355c58e08e2a801368f1375690eee2c6 gmp-6.1.2.tar.xz" +sha512sums="c99be0950a1d05a0297d65641dd35b75b74466f7bf03c9e8a99895a3b2f9a0856cd17887738fa51cf7499781b65c049769271cbcb77d057d2e9f1ec52e07dd84 gmp-6.2.1.tar.xz" |