diff --git a/packages/curl-windows/curl-windows.0.9.2/opam b/packages/curl-windows/curl-windows.0.9.2/opam new file mode 100644 index 00000000..30127e4c --- /dev/null +++ b/packages/curl-windows/curl-windows.0.9.2/opam @@ -0,0 +1,47 @@ +opam-version: "2.0" +maintainer: "ygrek@autistici.org" +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" +} diff --git a/packages/ocurl-windows/ocurl-windows.0.9.2/opam b/packages/ocurl-windows/ocurl-windows.0.9.2/opam index 30127e4c..05421b38 100644 --- a/packages/ocurl-windows/ocurl-windows.0.9.2/opam +++ b/packages/ocurl-windows/ocurl-windows.0.9.2/opam @@ -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`"