aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-09-27 18:40:57 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-09-27 22:07:38 +0000
commit5a82f8196c0669fa481259e1d7f158cececc882d (patch)
treea28cbfaf5749628245e1fa6f750f84212686f4e1
parent8be331c8e23c0152ab1896695eb27e15cf7b38ee (diff)
downloadaports-5a82f8196c0669fa481259e1d7f158cececc882d.tar.gz
aports-5a82f8196c0669fa481259e1d7f158cececc882d.tar.bz2
aports-5a82f8196c0669fa481259e1d7f158cececc882d.tar.xz
main/mpc1: upgrade to 1.2.0
-rw-r--r--main/mpc1/APKBUILD15
1 files changed, 5 insertions, 10 deletions
diff --git a/main/mpc1/APKBUILD b/main/mpc1/APKBUILD
index 85a48b7b71..0d7ab9c084 100644
--- a/main/mpc1/APKBUILD
+++ b/main/mpc1/APKBUILD
@@ -1,28 +1,25 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mpc1
-pkgver=1.1.0
-pkgrel=1
+pkgver=1.2.0
+pkgrel=0
pkgdesc="Multiprecision C library"
url="http://www.multiprecision.org/"
arch="all"
license="LGPL-3.0-or-later"
-depends=
-makedepends_host="gmp-dev mpfr-dev"
+makedepends_host="gmp-dev mpfr-dev>=4.1.0-r0"
makedepends="$makedepends_host"
-install=
subpackages="$pkgname-dev $pkgname-doc"
source="https://ftp.gnu.org/gnu/mpc/mpc-$pkgver.tar.gz"
builddir="$srcdir"/mpc-$pkgver
build() {
- cd "$builddir"
# workaround for a bug in configure script
EGREP=egrep \
./configure \
--build=$CBUILD \
--host=$CHOST \
- --with-sysroot="${CBUILDROOT}" \
+ --with-sysroot="$CBUILDROOT" \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -32,13 +29,11 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="72d657958b07c7812dc9c7cbae093118ce0e454c68a585bfb0e2fa559f1bf7c5f49b93906f580ab3f1073e5b595d23c6494d4d76b765d16dde857a18dd239628 mpc-1.1.0.tar.gz"
+sha512sums="84fa3338f51d369111456a63ad040256a1beb70699e21e2a932c779aa1c3bd08b201412c1659ecbb58403ea0548faacc35996d94f88f0639549269b7563c61b7 mpc-1.2.0.tar.gz"