A repository of opam repositories, for use by oi
1.7 kB
51 lines
1opam-version: "2.0"
2synopsis:
3 "Relocatable OCamlbuild is a build system with builtin rules to easily build most OCaml projects"
4maintainer: "David Allsopp <david@tarides.com>"
5authors: ["Nicolas Pouillard" "Berke Durak"]
6license: "LGPL-2.0-or-later WITH OCaml-LGPL-linking-exception"
7homepage: "https://github.com/ocaml/ocamlbuild/"
8doc: "https://github.com/ocaml/ocamlbuild/blob/master/manual/manual.adoc"
9bug-reports: "https://github.com/ocaml/ocamlbuild/issues"
10depends: [
11 "ocaml" {>= "4.03"}
12]
13conflicts: [
14 "base-ocamlbuild"
15 "ocamlfind" {< "1.6.2"}
16]
17available: os != "win32"
18build: [
19 [
20 make
21 "-f"
22 "configure.make"
23 "all"
24 "OCAMLBUILD_PREFIX=%{prefix}%"
25 "OCAMLBUILD_BINDIR=%{bin}%"
26 "OCAMLBUILD_LIBDIR=.."
27 "OCAMLBUILD_MANDIR=%{man}%"
28 "OCAML_NATIVE=%{ocaml:native}%"
29 "OCAML_NATIVE_TOOLS=%{ocaml:native}%"
30 ]
31 [make "check-if-preinstalled" "all" "opam-install"]
32]
33patches: "relocatable.patch"
34dev-repo: "git+https://github.com/ocaml/ocamlbuild.git"
35url {
36 src: "https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.14.3.tar.gz"
37 checksum: [
38 "md5=220df59060c916e8aac2eb471c870485"
39 "sha512=def8fa1d5488905fda31f72b7f6f0ebdccefa55a8e984a6ea4a7c1e0856e8ea1f7814410202e0f7f7d5e72aca7e8ae0d6623f7f2bade78b0dd82155de76ec4e5"
40 ]
41}
42extra-source "relocatable.patch" {
43 src:
44 "https://github.com/dra27/ocamlbuild/commit/5a1529c33a4757fcde1500b05ce8da834c2120a5.patch?full_index=1"
45 checksum:
46 "sha256=27f16db29b583f2cce8deaec2851261417d0db269e3f318227da9ccfe0d46c32"
47}
48x-d10-archive:
49 "188604b6b4c4017003c14247d79c24141485f3e4f92e1868a488deca1c7b25a2"
50x-oi-source-url:
51 "https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.14.3.tar.gz"