this repo has no description
at main 1.7 kB view raw
1opam-version: "2.0" 2maintainer: "https://github.com/ocaml/opam-repository/issues" 3authors: ["Francois Rouaix"] 4homepage: "https://github.com/ocaml/dbm" 5bug-reports: "https://github.com/ocaml/dbm/issues" 6dev-repo: "git+https://github.com/ocaml/dbm.git" 7license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" 8build: [ 9 ["./configure"] 10 [make "all"] 11 [make "test"] {with-test} 12] 13depends: [ 14 "ocaml" {< "5.0.0"} 15 "ocamlfind" {build} 16] 17depexts: [ 18 ["libgdbm-dev" "libgdbm-compat-dev"] {os-family = "debian"} 19 ["gdbm"] {os-distribution = "nixos"} 20 ["gdbm-devel"] {os-distribution = "centos"} 21 ["gdbm-devel"] {os-distribution = "rhel"} 22 ["gdbm-devel"] {os-distribution = "fedora"} 23 ["gdbm-dev"] {os-distribution = "alpine"} 24 ["gdbm"] {os = "macos" & os-distribution = "homebrew"} 25 ["gdbm"] {os-distribution = "arch"} 26] 27patches: [ 28 "include_local_fix.patch" 29] 30install: [ 31 ["mkdir" "-p" "%{lib}%/dbm"] 32 [make "install" "STUBLIBDIR=%{lib}%/stublibs" "LIBDIR=%{lib}%/dbm"] 33 ["cp" "META" "%{lib}%/dbm"] 34] 35remove: [ 36 ["rm" "-f" "%{lib}%/stublibs/dllcamldbm.so"] 37 ["ocamlfind" "remove" "dbm"] 38] 39synopsis: "Binding to the NDBM/GDBM Unix \"databases\"" 40flags: light-uninstall 41url { 42 src: "https://github.com/ocaml/dbm/archive/camldbm-1.1.tar.gz" 43 checksum: [ 44 "sha256=1761afefb59fcf2f65a12b91f84c3221ec6bdddcebb7ab4ae171f8e457040104" 45 "md5=d21a65d7f744677e074600b938195630" 46 ] 47} 48extra-source "include_local_fix.patch" { 49 src: 50 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/dbm/include_local_fix.patch" 51 checksum: [ 52 "sha256=d6ce2cf855facdde0a4138a4c4b67e379d39feaf0d34dd8470620f57ae57f32f" 53 "md5=417ee4729cc50ed0168c0659ed9881e3" 54 ] 55}