aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2024-04-17 15:16:53 +0200
committerThomas White <taw@physics.org>2024-04-17 15:17:23 +0200
commitfc39cd9d85122df2eee119d47030e11c45106ed5 (patch)
tree5b4aebffe426e0448edfe4a4740694339554f1b0
parentedbdd3d917d811f2206ec105bd2db4932dd39476 (diff)
Update INSTALL.md
-rw-r--r--INSTALL.md13
1 files changed, 10 insertions, 3 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 32805159..6be1a1ac 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -65,12 +65,19 @@ nixpkgs#crystfel` to have all CrystFEL tools in your `PATH`.
### Homebrew
To install the development version of CrystFEL using
-<a href="https://brew.sh/">Homebrew</a>, run the following:
+[Homebrew](https://brew.sh/), download the latest version of
+[crystfel.rb](https://gitlab.desy.de/thomas.white/crystfel/-/blob/master/crystfel.rb)
+from the Git repository, and use `brew install`:
```
-$ git clone https://gitlab.desy.de/thomas.white/crystfel.git
-$ cd crystfel
+$ wget https://gitlab.desy.de/thomas.white/crystfel/-/blob/master/crystfel.rb
$ brew install -v -s ./crystfel.rb --HEAD
```
+Omit `--HEAD` to install the latest stable version.
+
+Note that the Homebrew formulae included in the "tarball" release files always
+refer to the *previous* release. This is because the formula has to contain
+the SHA256 hash of the downloaded tarball, which is not known until after the
+tarball has been created!
We hope to contribute the Homebrew formula to the main repository soon, so that
you can install CrystFEL with a simple `brew install crystfel`.