Skip to content

Commit

Permalink
Revised dune port of findlib.1.8.1+dune2
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonidas-from-XIV committed Feb 17, 2022
1 parent 4c39043 commit 4edade9
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
31 changes: 31 additions & 0 deletions packages/findlib/findlib.1.8.1+dune2/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
opam-version: "2.0"
maintainer: "Anil Madhavapeddy <[email protected]>"
homepage: "https://github.com/dune-universe/lib-findlib"
bug-reports: "https://github.com/dune-universe/lib-findlib/issues"
dev-repo: "git+https://github.com/dune-universe/lib-findlib.git"
build: [
[ "env" "FINDLIB_PREFIX=%{lib}%" "dune" "build" "-p" name "-j" jobs ]
]
depends: [
"ocaml" {>= "4.06.0"}
"dune"
"dune-configurator"
]
synopsis: "A library manager for OCaml"
description: """
Findlib is a library manager for OCaml. It provides a convention how
to store libraries, and a file format ("META") to describe the
properties of libraries. There is also a tool (ocamlfind) for
interpreting the META files, so that it is very easy to use libraries
in programs and scripts.
"""
authors: "Gerd Stolpmann <[email protected]>"
url {
src:
"https://github.com/dune-universe/lib-findlib/releases/download/v1.8.1%2Bdune2/findlib-1.8.1.dune2.tbz"
checksum: [
"sha256=155618308ac9483d4e2ad0e2316a11c6d60fec215f2504d2d61a8f5b52f7e1be"
"sha512=a54a2e2fc7d20bfaf1295c6d54ae9386882d17efe0ea9b1befa6dd16799ccd451f940fa4346e58e03c352972285d3a665a06a1f0b163b09bffa6a5c8c9d626f1"
]
}
x-commit-hash: "0422aa2912c59f04b5323657f7da863ae652fa0f"
39 changes: 39 additions & 0 deletions packages/ocamlfind/ocamlfind.1.8.1+dune2/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
opam-version: "2.0"
maintainer: "Thomas Gazagnaire <[email protected]>"
homepage: "https://github.com/dune-universe/lib-findlib"
bug-reports: "https://github.com/dune-universe/lib-findlib/issues"
dev-repo: "git+https://github.com/dune-universe/lib-findlib.git"
build: [
[ "env" "FINDLIB_PREFIX=%{lib}%" "dune" "build" "-p" name "-j" jobs ]
]
install: [
["install" "-m" "0755" "ocaml-stub" "%{bin}%/ocaml"] {ocaml:preinstalled}
["cp" "%{lib}%/toplevel/topfind" "%{lib}%/ocaml/topfind"] {!ocaml:preinstalled}
]
remove: [
["rm" "-f" "%{bin}%/ocaml"] {ocaml:preinstalled}
["rm" "-f" "%{lib}%/ocaml/topfind"] {!ocaml:preinstalled}
]
depends: [
"ocaml" {>= "4.06.0"}
"dune"
"findlib"
]
setenv: OCAMLPATH = "%{lib}%"
synopsis: "A library manager for OCaml"
description: """
Findlib is a library manager for OCaml. It provides a convention how
to store libraries, and a file format ("META") to describe the
properties of libraries. There is also a tool (ocamlfind) for
interpreting the META files, so that it is very easy to use libraries
in programs and scripts."""
authors: "Gerd Stolpmann <[email protected]>"
url {
src:
"https://github.com/dune-universe/lib-findlib/releases/download/v1.8.1%2Bdune2/findlib-1.8.1.dune2.tbz"
checksum: [
"sha256=155618308ac9483d4e2ad0e2316a11c6d60fec215f2504d2d61a8f5b52f7e1be"
"sha512=a54a2e2fc7d20bfaf1295c6d54ae9386882d17efe0ea9b1befa6dd16799ccd451f940fa4346e58e03c352972285d3a665a06a1f0b163b09bffa6a5c8c9d626f1"
]
}
x-commit-hash: "0422aa2912c59f04b5323657f7da863ae652fa0f"

0 comments on commit 4edade9

Please sign in to comment.