summaryrefslogtreecommitdiff
path: root/opam
diff options
context:
space:
mode:
authorRobert Norton2018-04-26 15:12:24 +0100
committerRobert Norton2018-04-26 15:12:24 +0100
commit0ee8e4d2dd1958d9a1aa45fbe8f67861d18e548c (patch)
tree63d51b0a53508c7a79a32e1f667a28a4250ec4bb /opam
parentae12f0feb0978eb1f511482293b1d1a20fb04ee4 (diff)
Add a new SHARE_DIR argument to use when doing opam build. For non-opam builds this defaults to git root.
Diffstat (limited to 'opam')
-rw-r--r--opam34
1 files changed, 34 insertions, 0 deletions
diff --git a/opam b/opam
new file mode 100644
index 00000000..04722afd
--- /dev/null
+++ b/opam
@@ -0,0 +1,34 @@
+opam-version: "1.2"
+name: "sail"
+version: "0.1"
+maintainer: "Sail Devs <cl-sail-dev@lists.cam.ac.uk>"
+authors: [
+ "Alasdair Armstrong"
+ "Thomas Bauereiss"
+ "Brian Campbell"
+ "Shaked Flur"
+ "Jonathan French"
+ "Kathy Gray"
+ "Robert Norton"
+ "Christopher Pulte"
+ "Peter Sewell"
+ "Mark Wassell"
+]
+homepage: "http://www.cl.cam.ac.uk/~pes20/sail/"
+bug-reports: "https://github.com/rems-project/sail/issues"
+license: "BSD3"
+dev-repo: "https://github.com/rems-project/sail"
+build: [make "INSTALL_DIR=%{prefix}%" "SHARE_DIR=%{sail:share}%" "isail"]
+install: [make "INSTALL_DIR=%{prefix}%" "SHARE_DIR=%{sail:share}%" "install"]
+remove: [make "INSTALL_DIR=%{prefix}%" "SHARE_DIR=%{sail:share}%" "uninstall"]
+depends: [
+ "ocamlfind"
+ "ocamlbuild"
+ "zarith"
+ "menhir"
+ "linenoise"
+ "ott" {>= "0.28"}
+ "lem"
+ "linksem"
+]
+available: [ocaml-version >= "4.02.3"]