Commit 634bda5c authored by Bernard van Gastel's avatar Bernard van Gastel
Browse files

Added easy installation for macOS with Homebrew.

parent 35314fbf
class LibPEP < Formula
desc "Polymorphic Encryption and Pseudonimisation library"
homepage "https://gitlab.science.ru.nl/ilab/libpep"
#url "https://bitpowder.com:2443/bvgastel/clippy/-/archive/0.1.1/clippy-0.1.1.tar.gz"
#sha256 "2777e5f5b4f19f93913e2e97187ccc71b61825a85efc48cb0358b2d2e3cca239"
head "https://gitlab.science.ru.nl/ilab/libpep.git", branch: "main"
license "BSD-2-Clause"
depends_on "bsdmake" => :build
depends_on "cmake" => :build
def install
system "cmake", "-DALL_WARNINGS=OFF", "-S", ".", "-B", "build", *std_cmake_args
system "cmake", "--build", "build", "--target", "install"
end
test do
system "#{bin}/libpepcli"
end
end
...@@ -52,6 +52,13 @@ cmake --build . ...@@ -52,6 +52,13 @@ cmake --build .
``` ```
and then run the executable `peptest` for the unit tests, or the executable `libpepcli` for the command line interface to the top level PEP API. and then run the executable `peptest` for the unit tests, or the executable `libpepcli` for the command line interface to the top level PEP API.
For macOS, there is an easier method which installs `libpepcli`:
```
brew tap ilab/libpep https://gitlab.science.ru.nl/ilab/libpep
brew install --HEAD ilab/libpep/libpep
```
Update with `brew reinstall ilab/libpep/libpep`.
## Background ## Background
Based on the article by Eric Verheul and Bart Jacobs, *Polymorphic Encryption and Pseudonymisation in Identity Management and Medical Research*. In **Nieuw Archief voor Wiskunde (NAW)**, 5/18, nr. 3, 2017, p. 168-172. A local copy is available in docs/naw5-2017-18-3-168.pdf. This article does not contain the zero knowledge proofs. Based on the article by Eric Verheul and Bart Jacobs, *Polymorphic Encryption and Pseudonymisation in Identity Management and Medical Research*. In **Nieuw Archief voor Wiskunde (NAW)**, 5/18, nr. 3, 2017, p. 168-172. A local copy is available in docs/naw5-2017-18-3-168.pdf. This article does not contain the zero knowledge proofs.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment