Commit 6448ed4f authored by Casey Strouse's avatar Casey Strouse

Add ocaml package

OCaml is an industrial strength programming language supporting functional,
imperative and object-oriented styles.

Tested as working on XE500C13-K01US.
parent ab85373a
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.05.0'
source_url 'http://caml.inria.fr/pub/distrib/ocaml-4.05/ocaml-4.05.0.tar.xz'
source_sha256 '04a527ba14b4d7d1b2ea7b2ae21aefecfa8d304399db94f35a96df1459e02ef9'
binary_url ({
})
binary_sha256 ({
})
depends_on 'buildessential' => :build
depends_on 'gdbm'
def self.build
system "./configure -prefix #{CREW_PREFIX} -libdir #{CREW_LIB_PREFIX} -no-graph"
system 'make -j1 world.opt'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
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