aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian <marsmensch@pm.me>2019-04-15 14:46:26 +0200
committerFlorian <marsmensch@pm.me>2019-04-15 14:46:26 +0200
commit02c01c0bd82faa33c1f5f808acab5a958d6a107f (patch)
tree8c66ebcd346d4af46ab8d63ede18ea39c170afe9
parentMerge pull request #5440 (diff)
downloadmonero-02c01c0bd82faa33c1f5f808acab5a958d6a107f.tar.xz
Add Brewfile to allow for an even easier management of dependencies
-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 7ee787e50..e7c60c5fb 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"