Skip to content
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

Add release of ocamlfind 1.9.6+dune #1

Merged
merged 1 commit into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff a/configure b/configure
--- a/configure
+++ b/configure
@@ -294,7 +294,7 @@
# If findlib has been configured -sitelib $(ocamlc -where) then there's
# nothing to do, but otherwise we need to put OCaml's Standard Library
# into the path setting.
- if [ ! -e "${ocaml_sitelib}/stdlib/META" ]; then
+ if [ ! -e "${ocaml_sitelib}/stdlib.cmi" ]; then
ocamlpath="${ocaml_core_stdlib}${path_sep}${ocamlpath}"
fi
fi
49 changes: 49 additions & 0 deletions packages/ocamlfind/ocamlfind.1.9.6+dune/opam
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.
"""
license: "MIT"
maintainer: "Thomas Gazagnaire <thomas@gazagnaire.org>"
authors: "Gerd Stolpmann <gerd@gerd-stolpmann.de>"
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}
]
extra-files: ["0001-Harden-test-for-OCaml-5.patch" "md5=3cddbf72164c29d4e50e077a92a37c6c"]
# See https://github.com/ocaml/ocamlfind/pull/61
patches: ["0001-Harden-test-for-OCaml-5.patch"]
dev-repo: "git+https://github.com/Leonidas-from-XIV/ocamlfind.git"
url {
src: "https://github.com/Leonidas-from-XIV/ocamlfind/releases/download/findlib-1.9.6%2Bdune/findlib-1.9.6+dune.tar.gz"
checksum: [
"md5=3968d7506056f085e7829b227fc4b27c"
"sha512=4a42ae392b028b6f77750beb303e96a308220bc70abe51525db3229538e1283bd7cd242fe271a9a9a36db8219a890a61c46ad9aed668bcc63555c838a3446896"
]
}
available: os != "win32"