aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-04-16 22:47:56 +0200
committerRiccardo Spagni <ric@spagni.net>2019-04-16 22:47:56 +0200
commitba1b6d36c4b376be0730e603556eda2a36877102 (patch)
tree0450bc4d8d0d86fc1d9a7c6363cfcac1cc26d986
parentMerge pull request #5448 (diff)
parentAdd Brewfile to allow for an even easier management of dependencies (diff)
downloadmonero-ba1b6d36c4b376be0730e603556eda2a36877102.tar.xz
Merge pull request #5447
02c01c0b Add Brewfile to allow for an even easier management of dependencies (Florian)
-rw-r--r--README.md4
-rw-r--r--contrib/brew/Brewfile34
2 files changed, 36 insertions, 2 deletions
diff --git a/README.md b/README.md
index 8efc39901..c46856b17 100644
--- a/README.md
+++ b/README.md
@@ -180,8 +180,8 @@ Install all dependencies at once on Debian/Ubuntu:
``` sudo apt update && sudo apt install build-essential cmake pkg-config libboost-all-dev libssl-dev libzmq3-dev libunbound-dev libsodium-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev doxygen graphviz libpgm-dev```
-Install all dependencies at once on macOS:
-``` brew update && brew install cmake pkg-config openssl boost hidapi zmq libpgm unbound libsodium miniupnpc readline ldns expat doxygen graphviz protobuf ```
+Install all dependencies at once on macOS with the provided Brewfile:
+``` brew update && brew bundle --file=contrib/brew/Brewfile ```
FreeBSD one liner for required to build dependencies
```pkg install git gmake cmake pkgconf boost-libs cppzmq libsodium```
diff --git a/contrib/brew/Brewfile b/contrib/brew/Brewfile
new file mode 100644
index 000000000..1fdf45cfe
--- /dev/null
+++ b/contrib/brew/Brewfile
@@ -0,0 +1,34 @@
+# Brewfile for Monero
+# A homebrew Brewfile installs all required dependencies in one shot
+# see https://coderwall.com/p/afmnbq/homebrew-s-new-feature-brewfiles
+# https://github.com/Homebrew/homebrew-bundle
+# execute brew bundle in the directory containing the Brewfile
+
+tap "homebrew/bundle"
+tap "homebrew/cask"
+tap "homebrew/cask-versions"
+tap "homebrew/core"
+
+brew "autoconf"
+brew "autogen"
+brew "automake"
+brew "binutils"
+brew "coreutils"
+brew "cmake"
+brew "pkg-config"
+brew "boost"
+brew "openssl"
+brew "hidapi"
+brew "zmq"
+brew "libpgm"
+brew "unbound"
+brew "libsodium"
+brew "miniupnpc"
+brew "readline"
+brew "ldns"
+brew "expat"
+brew "doxygen"
+brew "graphviz"
+brew "libunwind-headers"
+brew "xz"
+brew "protobuf"