Skip to content

Commit

Permalink
ocurl->curl (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
toots authored Nov 30, 2024
1 parent 61eed8e commit 6a4b5ef
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 34 deletions.
47 changes: 47 additions & 0 deletions packages/curl-windows/curl-windows.0.9.2/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
opam-version: "2.0"
maintainer: "[email protected]"
homepage: "https://ygrek.org/p/ocurl"
license: "MIT"
authors: [ "Lars Nilsson" "ygrek" ]
doc: ["https://ygrek.org/p/ocurl/api/index.html"]
dev-repo: "git+https://github.com/ygrek/ocurl.git"
bug-reports: "https://github.com/ygrek/ocurl/issues"
tags: ["org:ygrek" "clib:curl"]
build: [
[ "./configure"
"--host=%{conf-gcc-windows:host}%"
"--prefix=%{prefix}%"
"OCAMLFIND_TOOLCHAIN=windows"
]
[
"dune"
"build"
"-p"
"curl"
"-x"
"windows"
"-j"
jobs
"@install"
]
]
patches: [
"patches/undef.patch"
]
extra-files: [
["patches/undef.patch" "md5=6a9b6d85af9f73c6c22ae918baa36ed9"]
]
depends: [
"ocaml-windows" {>= "4.02.0"}
"dune"
"ocamlfind" {build}
]
depopts: ["lwt" "lwt_ppx"]
depexts: [
["curl"] {os-distribution = "mxe"}
]
synopsis: "Bindings to libcurl"
description: "libcurl is a client-side URL transfer library, supporting HTTP and a multitude of other network protocols (FTP/SMTP/RTSP/etc). This library wrap easy synchronous API (Curl), synchronous parallel and generic asynchronous API (Curl.Multi), and provides an Lwt-enabled asynchronous interface (Curl_lwt)."
url {
src: "git+https://github.com/ygrek/ocurl.git#1bc75b8"
}
37 changes: 3 additions & 34 deletions packages/ocurl-windows/ocurl-windows.0.9.2/opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,40 +8,9 @@ dev-repo: "git+https://github.com/ygrek/ocurl.git"
bug-reports: "https://github.com/ygrek/ocurl/issues"
tags: ["org:ygrek" "clib:curl"]
build: [
[ "./configure"
"--host=%{conf-gcc-windows:host}%"
"--prefix=%{prefix}%"
"OCAMLFIND_TOOLCHAIN=windows"
]
[
"dune"
"build"
"-p"
"curl"
"-x"
"windows"
"-j"
jobs
"@install"
]
]
patches: [
"patches/undef.patch"
]
extra-files: [
["patches/undef.patch" "md5=6a9b6d85af9f73c6c22ae918baa36ed9"]
]
depends: [
"ocaml-windows" {>= "4.02.0"}
"dune"
"ocamlfind" {build}
]
depopts: ["lwt" "lwt_ppx"]
depexts: [
["curl"] {os-distribution = "mxe"}
"curl-windows" {= version}
]
synopsis: "Bindings to libcurl"
description: "libcurl is a client-side URL transfer library, supporting HTTP and a multitude of other network protocols (FTP/SMTP/RTSP/etc). This library wrap easy synchronous API (Curl), synchronous parallel and generic asynchronous API (Curl.Multi), and provides an Lwt-enabled asynchronous interface (Curl_lwt)."
url {
src: "git+https://github.com/ygrek/ocurl.git#1bc75b8"
}
synopsis: "Transitional dummy package: ocurl -> curl"
description: "Use `opam install curl-windows`"

0 comments on commit 6a4b5ef

Please sign in to comment.