Skip to content
Open
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
13 changes: 13 additions & 0 deletions packages/conf-libcurl-gnutls/conf-libcurl-gnutls.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
opam-version: "2.0"
maintainer: ["Christopher Zimmermann <christopher@gmerlin.de>"]
authors: ["Christopher Zimmermann <christopher@gmerlin.de>"]
homepage: "http://curl.haxx.se/"
license: "curl"
available: os-family = "debian" | os-family = "ubuntu"
depexts: "libcurl4-gnutls-dev"
synopsis: "Virtual package relying on a libcurl system installation with GnuTLS backend"
description:
"This package can only install if libcurl with GnuTLS is installed on the system."
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
conflict-class: [ "conf-libcurl" ]
13 changes: 13 additions & 0 deletions packages/conf-libcurl-openssl/conf-libcurl-openssl.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
opam-version: "2.0"
maintainer: ["Christopher Zimmermann <christopher@gmerlin.de>"]
authors: ["Christopher Zimmermann <christopher@gmerlin.de>"]
homepage: "http://curl.haxx.se/"
license: "curl"
available: os-family = "debian" | os-family = "ubuntu"
depexts: "libcurl4-openssl-dev"
synopsis: "Virtual package relying on a libcurl system installation with OpenSSL backend"
description:
"This package can only install if libcurl with OpenSSL is installed on the system."
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
conflict-class: [ "conf-libcurl" ]
36 changes: 36 additions & 0 deletions packages/conf-libcurl/conf-libcurl.3/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
opam-version: "2.0"
maintainer: "blue-prawn"
authors: ["Daniel Stenberg"]
homepage: "http://curl.haxx.se/"
license: "curl"
build: [
["sh" {os = "win32" & os-distribution != "cygwinports"} "curl-config" "--libs"]
]
depexts: [
["libcurl-devel"] {os-distribution = "mageia"}
["libcurl-devel" "openssl-devel"] {os-distribution = "centos"}
["curl"] {os-distribution = "nixos"}
["curl"] {os-distribution = "arch"}
["curl"] {os = "win32" & os-distribution = "cygwinports"}
["curl-dev"] {os-distribution = "alpine"}
["libcurl-devel"] {os-family = "suse" | os-family = "opensuse"}
["libcurl-devel"] {os-family = "fedora"}
["libcurl-devel"] {os-distribution = "ol"}
["curl"] {os-distribution = "homebrew" & os = "macos"}
["curl"] {os-distribution = "macports" & os = "macos"}
["curl"] {os = "freebsd"}
]
depends: [
"conf-libcurl-openssl" | "conf-libcurl-gnutls" {os-family = "debian" | os-family = "ubuntu"}
# curl-config is in the sys-root bin directory, which needs to be in PATH for
# the build command above to work; this package therefore depends on the C
# compiler as well.
("host-arch-x86_64" {os = "win32" & os-distribution != "cygwinports"} & "conf-mingw-w64-gcc-x86_64" {os = "win32" & os-distribution != "cygwinports"} & "conf-mingw-w64-curl-x86_64" {os = "win32" & os-distribution != "cygwinports"} |
"host-arch-x86_32" {os = "win32" & os-distribution != "cygwinports"} & "conf-mingw-w64-gcc-i686" {os = "win32" & os-distribution != "cygwinports"} & "conf-mingw-w64-curl-i686" {os = "win32" & os-distribution != "cygwinports"})
]
depopts: "mingw-w64-shims" {< "1.0.0"}
synopsis: "Virtual package relying on a libcurl system installation"
description:
"This package can only install if the libcurl is installed on the system."
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf