Commit e7c4ee4f authored by satmandu's avatar satmandu Committed by GitHub

ocaml 4.12.0 (#5701)

* ocaml 4.12.0

* update to avoid git_lfs links
parent f7c9a99f
......@@ -3,28 +3,33 @@ require 'package'
class Ocaml < Package
description 'OCaml is an industrial strength programming language supporting functional, imperative and object-oriented styles'
homepage 'http://ocaml.org/'
version '4.10.0'
version '4.12.0'
license 'LGPL-2.1'
compatibility 'all'
source_url 'https://caml.inria.fr/pub/distrib/ocaml-4.10/ocaml-4.10.0.tar.gz'
source_sha256 '58d431dde66f5750ebe9b15d5a1c4872f80d283dec23448689b0d1a498b7e4c7'
source_url 'https://caml.inria.fr/pub/distrib/ocaml-4.12/ocaml-4.12.0.tar.gz'
source_sha256 '9825e5903b852a7a5edb71a1ed68f5d5d55d6417e2dda514dda602bc6efeed7b'
binary_url ({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ocaml/4.10.0_armv7l/ocaml-4.10.0-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ocaml/4.10.0_armv7l/ocaml-4.10.0-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ocaml/4.10.0_i686/ocaml-4.10.0-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ocaml/4.10.0_x86_64/ocaml-4.10.0-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ocaml/4.12.0_armv7l/ocaml-4.12.0-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ocaml/4.12.0_armv7l/ocaml-4.12.0-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ocaml/4.12.0_i686/ocaml-4.12.0-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ocaml/4.12.0_x86_64/ocaml-4.10.0-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '5c473693ab61a9f70f2691b63680009bd1ddf5f237eebdaa9d3ccb02e5cba793',
armv7l: '5c473693ab61a9f70f2691b63680009bd1ddf5f237eebdaa9d3ccb02e5cba793',
i686: '9c3772682238e12d8edaf59197c8f6d0343436d0e54055490c39a4f3e67971d3',
x86_64: 'd2c8383d8761b1d67f244f58bf06cd3bdd49470353e0925abafa4e58906d2571',
binary_sha256({
aarch64: '6da8eaf154e9e5be53d49ba12704cf3ad857fce4b404be44104a2b4417440e9b',
armv7l: '6da8eaf154e9e5be53d49ba12704cf3ad857fce4b404be44104a2b4417440e9b',
i686: 'be55c4f17d4e59e9ad0d259051c6ba932a3fd7fa1d098f61b0057938a0937c60',
x86_64: 'ee67fbd27e5c180c98c452a095feb8a0a113019cd2cc883d8749e066ac8109ba'
})
def self.patch
system 'filefix'
end
def self.build
system "./configure -prefix #{CREW_PREFIX} -libdir #{CREW_LIB_PREFIX}"
system "env #{CREW_ENV_OPTIONS} \
./configure -prefix #{CREW_PREFIX} \
-libdir #{CREW_LIB_PREFIX}"
system 'make -j1 world.opt'
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment