diff options
author | EuAndreh <eu@euandre.org> | 2021-02-21 19:48:17 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-02-21 20:02:15 -0300 |
commit | 1e99186b9dcc75595b525a8aa93bd9fee70c323e (patch) | |
tree | 03654aecd6fab13f047b77e164404764e49e1cc5 /Formula/fallible-latest.rb | |
parent | TODOs.md: Add Void to the list of target OSes (diff) | |
download | package-repository-1e99186b9dcc75595b525a8aa93bd9fee70c323e.tar.gz package-repository-1e99186b9dcc75595b525a8aa93bd9fee70c323e.tar.xz |
Support -latest (main branch) and tagged releases
Diffstat (limited to '')
-rw-r--r-- | Formula/fallible-latest.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Formula/fallible-latest.rb b/Formula/fallible-latest.rb new file mode 100644 index 0000000..fa0668e --- /dev/null +++ b/Formula/fallible-latest.rb @@ -0,0 +1,16 @@ +class FallibleLatest < Formula + desc 'Fault injection library for stress-testing failure scenarios' + homepage 'https://fallible.euandreh.xyz' + url 'https://git.euandreh.xyz/fallible/snapshot/fallible-db1527a0d72471d702e0ec4609ce67ef7df73b41.tar.gz' + sha256 'ebe9517b415407766fbafe7d9cb725bc8f32ab79151c48e1bf4b69f773aeccef' + license 'AGPL-3.0-or-later' + + depends_on 'valgrind' => :build + + def install + system './configure', "--prefix=#{prefix}" + system 'make' + system 'make', 'check' + system 'make', 'install' + end +end |