summaryrefslogtreecommitdiff
path: root/homebrew/zeroinstall/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/zeroinstall/.beer')
-rw-r--r--homebrew/zeroinstall/.beer62
1 files changed, 62 insertions, 0 deletions
diff --git a/homebrew/zeroinstall/.beer b/homebrew/zeroinstall/.beer
new file mode 100644
index 000000000..cdc60c483
--- /dev/null
+++ b/homebrew/zeroinstall/.beer
@@ -0,0 +1,62 @@
+{
+ "name": "ZeroInstall",
+ "description": "Zero Install is a decentralised software installation system",
+ "url": "https://downloads.sourceforge.net/project/zero-install/0install/2.13/0install-2.13.tar.bz2",
+ "mirror": null,
+ "homepage": "https://0install.net/",
+ "depends": [
+ {
+ "depend": "camlp4",
+ "build-depend": true
+ },
+ {
+ "depend": "ocaml",
+ "build-depend": true
+ },
+ {
+ "depend": "ocamlbuild",
+ "build-depend": true
+ },
+ {
+ "depend": "opam",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "gnupg",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV[\"OCAMLPARAM\"] = \"safe-string=0,_\" ",
+ "ENV.append_path \"PATH\", Formula[\"gnupg\"].opt_bin",
+ "opamroot = buildpath/\"opamroot\"",
+ "ENV[\"OPAMROOT\"] = opamroot",
+ "ENV[\"OPAMYES\"] = \"1\"",
+ "system \"opam\", \"init\", \"--no-setup\"",
+ "modules = %w[",
+ "cppo",
+ "yojson",
+ "xmlm",
+ "ounit",
+ "lwt_react",
+ "ocurl",
+ "obus",
+ "sha",
+ "cppo_ocamlbuild",
+ "]",
+ "system \"opam\", \"config\", \"exec\", \"opam\", \"install\", *modules",
+ "ENV.deparallelize { system \"opam\", \"config\", \"exec\", \"make\" }",
+ "inreplace \"dist/install.sh\" do |s|",
+ "s.gsub! '\"/usr/local\"', prefix",
+ "s.gsub! '\"${PREFIX}/man\"', man"
+ ],
+ "version": "2.13",
+ "file": "zero-install.rb"
+} \ No newline at end of file