this repo has no description
1opam-version: "2.0"
2synopsis: "Bindings to the dash shell's parser"
3maintainer: "Michael Greenberg <michael.greenberg@pomona.edu>"
4authors: "Michael Greenberg <michael.greenberg@pomona.edu>"
5license: "BSD"
6homepage: "https://github.com/mgree/libdash"
7bug-reports: "https://github.com/mgree/libdash/issues"
8depends: [
9 "ocaml" {>= "4.0.7"}
10 "ocamlfind" {>= "1.8.0"}
11 "ctypes" {>= "0.11.5" & < "0.18.0"}
12 "ctypes-foreign" {>= "0.4.0"}
13 "conf-autoconf" {build}
14 "conf-libtool" {build}
15]
16build: [
17 ["libtoolize"] {os != "macos"}
18 ["glibtoolize"] {os = "macos"}
19 ["aclocal"]
20 ["autoheader"]
21 ["automake" "--add-missing"]
22 ["autoconf"]
23 ["mkdir" "_build"]
24 ["./configure" "--prefix=%{build}%/_build"]
25 [make]
26 [make "install"] # into _build
27 [make "-C" "ocaml" "all"]
28 ["./mk_dot_install.sh"]
29 ["./ldconfig.sh"] # fix up .so files if ldconfig didn't do it
30 [make "-C" "ocaml" "test"] {with-test}
31]
32# disabled for now---succeeds on macOS but fails on Linux :(
33#install: [
34# ["opam-installer" "--prefix=%{prefix}%" "libdash.install"]
35# [make "-C" "test" "test"] {with-test}
36#]
37dev-repo: "git+https:///github.com/mgree/libdash"
38url {
39 src: "https://github.com/mgree/libdash/archive/v0.1.tar.gz"
40 checksum: [
41 "sha256=3c50e3f17f93f48ca68b82312f5c6d53b048a8029423363c09c7c81b3396a8c6"
42 "md5=ea26777aa9a7776c1b2f940110cc354b"
43 ]
44}
45