Skip to content
Snippets Groups Projects
Commit 47f37824 authored by omni's avatar omni
Browse files

testing/ocaml-num: upgrade to 1.4

Also enable on archs supported by ocaml aport
parent cea42c04
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !25782. Comments created here will be created in the context of that merge request.
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
# Maintainer: alpine-mips-patches <info@mobile-stream.com> # Maintainer: alpine-mips-patches <info@mobile-stream.com>
pkgname=ocaml-num pkgname=ocaml-num
_pkgname=num _pkgname=num
pkgver=1.3 pkgver=1.4
pkgrel=0 pkgrel=0
pkgdesc="Arbitray-precision rational arithmetic for OCaml" pkgdesc="Arbitray-precision rational arithmetic for OCaml"
url="https://github.com/ocaml/num" url="https://github.com/ocaml/num"
arch="aarch64 ppc64le x86_64" # reflect ocaml aport platforms arch="all !mips64 !riscv64" # limited by ocaml aport
license="LGPL-2.1-or-later-WITH-linking-exception-AND-MIT" license="LGPL-2.1-or-later-WITH-linking-exception-AND-MIT"
depends="ocaml-runtime" depends="ocaml-runtime"
makedepends="ocaml ocaml-compiler-libs ocaml-findlib" makedepends="ocaml ocaml-compiler-libs ocaml-findlib"
...@@ -15,6 +15,11 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/ocaml/$_pkgname/archive/v$pk ...@@ -15,6 +15,11 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/ocaml/$_pkgname/archive/v$pk
" "
builddir="$srcdir/$_pkgname-$pkgver" builddir="$srcdir/$_pkgname-$pkgver"
# 32bit archs
case "$CARCH" in
arm*|x86) options="$options textrels" ;;
esac
build() { build() {
make make
} }
...@@ -51,4 +56,4 @@ dev() { ...@@ -51,4 +56,4 @@ dev() {
done done
} }
sha512sums="c88310f8c45700990095e6b2e9abf24c27347711b9abfd1dde75e540fbbfc6a365e6713bd69f66009af305728fcb36dc61eb37fdd0be7d73824b0e92fbe8c031 ocaml-num-1.3.tar.gz" sha512sums="0cc9be8ad95704bb683b4bf6698bada1ee9a40dc05924b72adc7b969685c33eeb68ccf174cc09f6a228c48c18fe94af06f28bebc086a24973a066da620db8e6f ocaml-num-1.4.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment