diff options
Diffstat (limited to 'homebrew/opam')
-rw-r--r-- | homebrew/opam/.beer | 28 | ||||
-rw-r--r-- | homebrew/opam/.make.sh-auto | 9 | ||||
-rw-r--r-- | homebrew/opam/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/opam/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/opam/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/opam/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/opam/download.sh | 1 |
7 files changed, 42 insertions, 0 deletions
diff --git a/homebrew/opam/.beer b/homebrew/opam/.beer new file mode 100644 index 000000000..d50344acd --- /dev/null +++ b/homebrew/opam/.beer @@ -0,0 +1,28 @@ +{ + "name": "Opam", + "description": "The OCaml package manager", + "url": "https://github.com/ocaml/opam/releases/download/2.0.4/opam-full-2.0.4.tar.gz", + "mirror": null, + "homepage": "https://opam.ocaml.org", + "depends": [ + { + "depend": "ocaml", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "ENV.deparallelize", + "system \"./configure\", \"--prefix=#{prefix}\", \"--mandir=#{man}\"", + "system \"make\", \"lib-ext\"", + "system \"make\"", + "system \"make\", \"man\"", + "system \"make\", \"install\"", + "bash_completion.install \"src/state/shellscripts/complete.sh\"", + "zsh_completion.install \"src/state/shellscripts/complete.zsh\" => \"_opam\"" + ], + "version": "2.0.4", + "file": "opam.rb" +}
\ No newline at end of file diff --git a/homebrew/opam/.make.sh-auto b/homebrew/opam/.make.sh-auto new file mode 100644 index 000000000..0aada78d4 --- /dev/null +++ b/homebrew/opam/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +ENV.deparallelize +pkg:configure +make lib-ext +make +make man +make DESTDIR=${PKG_DEST} install +bash_completion.install "src/state/shellscripts/complete.sh" +zsh_completion.install "src/state/shellscripts/complete.zsh" => "_opam" diff --git a/homebrew/opam/_metadata/description b/homebrew/opam/_metadata/description new file mode 100644 index 000000000..b25b6ba4c --- /dev/null +++ b/homebrew/opam/_metadata/description @@ -0,0 +1 @@ +The OCaml package manager diff --git a/homebrew/opam/_metadata/homepage b/homebrew/opam/_metadata/homepage new file mode 100644 index 000000000..3da5212e9 --- /dev/null +++ b/homebrew/opam/_metadata/homepage @@ -0,0 +1 @@ +https://opam.ocaml.org diff --git a/homebrew/opam/_metadata/name b/homebrew/opam/_metadata/name new file mode 100644 index 000000000..8077e4e60 --- /dev/null +++ b/homebrew/opam/_metadata/name @@ -0,0 +1 @@ +Opam diff --git a/homebrew/opam/_metadata/version b/homebrew/opam/_metadata/version new file mode 100644 index 000000000..2165f8f9b --- /dev/null +++ b/homebrew/opam/_metadata/version @@ -0,0 +1 @@ +2.0.4 diff --git a/homebrew/opam/download.sh b/homebrew/opam/download.sh new file mode 100755 index 000000000..962d43af5 --- /dev/null +++ b/homebrew/opam/download.sh @@ -0,0 +1 @@ +wget https://github.com/ocaml/opam/releases/download/2.0.4/opam-full-2.0.4.tar.gz
\ No newline at end of file |