this repo has no description
1opam-version: "2.0"
2maintainer: "opam-devel@lists.ocaml.org"
3homepage: "https://forge.ocamlcore.org/projects/ocamlmod/"
4bug-reports: "https://forge.ocamlcore.org/tracker/?group_id=244"
5dev-repo: "darcs+https://forge.ocamlcore.org/anonscm/darcs/ocamlmod/ocamlmod"
6authors: [ "Sylvain Le Gall" ]
7license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
8build: [
9 ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
10 ["ocaml" "setup.ml" "-build"]
11 ["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test}
12 ["ocaml" "setup.ml" "-build"] {with-test}
13 ["ocaml" "setup.ml" "-test"] {with-test}
14]
15install: ["ocaml" "setup.ml" "-install"]
16remove: [
17 ["ocaml" "%{etc}%/ocamlmod/_oasis_remove_.ml" "%{etc}%/ocamlmod"]
18]
19depends: [
20 "ocaml" {< "5.0"}
21 "ocamlfind" {build}
22 "ounit" {with-test & >= "2.0.0"}
23 "ocamlbuild" {build}
24]
25patches: "safe-string.patch" {ocaml:version >= "4.04.0"}
26synopsis: "Generate OCaml modules from source files"
27url {
28 src:
29 "https://download.ocamlcore.org/ocamlmod/ocamlmod/0.0.8/ocamlmod-0.0.8.tar.gz"
30 checksum: [
31 "sha256=2f6909279c87ab2df0f6e291ebb79d9eddd632dc6f84dd00187357ef1d451cf0"
32 "md5=411e5b3f3321945fc53d9377a1a17f91"
33 ]
34}
35extra-source "safe-string.patch" {
36 src:
37 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocamlmod/safe-string.patch"
38 checksum: [
39 "sha256=33396443cf2d4ade64a02136ccffc94e17544a7a4886b7c4da366463e17898e0"
40 "md5=b3c0a96b57eb17af7625d14491d0aaab"
41 ]
42}
43extra-source "ocamlmod.install" {
44 src:
45 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocamlmod/ocamlmod.install.0.0.8"
46 checksum: [
47 "sha256=5b010bcd931b45da20d8004cb55ee72cc8193b8b0fe12070896fbdb73a00517b"
48 "md5=0d1b822c897681cf54b3e1aed52dda99"
49 ]
50}
51extra-source "_oasis_remove_.ml" {
52 src:
53 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocamlmod/_oasis_remove_.ml"
54 checksum: [
55 "sha256=30bd6759edf0096e5353751a0603eaf693cb60ea7485aa9418e257dfdb97d916"
56 "md5=6100ca146fa97d2196eb49a2631d0796"
57 ]
58}