-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package ocamlfind.1.9.7 #26864
Closed
kit-ty-kate
wants to merge
3
commits into
ocaml:master
from
kit-ty-kate:opam-publish-ocamlfind.1.9.7
Closed
Package ocamlfind.1.9.7 #26864
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
opam-version: "2.0" | ||
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.""" | ||
maintainer: "Thomas Gazagnaire <[email protected]>" | ||
authors: "Gerd Stolpmann <[email protected]>" | ||
license: "MIT" | ||
homepage: "http://projects.camlcity.org/projects/findlib.html" | ||
bug-reports: "https://github.com/ocaml/ocamlfind/issues" | ||
depends: [ | ||
"ocaml" {>= "3.08.0"} | ||
] | ||
depopts: ["graphics"] | ||
build: [ | ||
[ | ||
"./configure" | ||
"-bindir" | ||
bin | ||
"-sitelib" | ||
lib | ||
"-mandir" | ||
man | ||
"-config" | ||
"%{lib}%/findlib.conf" | ||
"-with-relative-paths-at" | ||
prefix | ||
"-no-custom" | ||
"-no-camlp4" {!ocaml:preinstalled & ocaml:version >= "4.02.0"} | ||
"-no-topfind" {ocaml:preinstalled} | ||
] | ||
[make "all"] | ||
[make "opt"] {ocaml:native} | ||
] | ||
install: [ | ||
[make "install"] | ||
["install" "-m" "0755" "ocaml-stub" "%{bin}%/ocaml"] {ocaml:preinstalled} | ||
] | ||
dev-repo: "git+https://github.com/ocaml/ocamlfind.git" | ||
url { | ||
src: "http://download.camlcity.org/download/findlib-1.9.7.tar.gz" | ||
checksum: [ | ||
"md5=b4542cf69e73308a311bd55e6baab5db" | ||
"sha512=3aa1f06d5a230d7467b6f42257ba4b6a2481c8bd6cb5e51df87f86d652d47a08bd3efffe48edaeb9fcbb4b38a7aed65767f265901c5d6570acc131f7afce66bb" | ||
] | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC this causes
ocamlfind
to depend on theOPAM_SWITCH_PREFIX
environment variable being correct which seems potentially more brittle than the 1.9.6 and previous approach which doesn't depend on them. At least for now, it would sensible to remove this setting?