+github.com/rhash/RHash

This commit is contained in:
James Reynolds 2022-11-19 23:53:22 -07:00 committed by Max Howell
parent 57ac9ca3a4
commit b4eb1925f8

View file

@ -0,0 +1,34 @@
distributable:
url: https://github.com/rhash/RHash/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
versions:
github: rhash/RHash/releases/tags
provides:
- bin/whirlpool-hash
- bin/tiger-hash
- bin/tth-hash
- bin/rhash
- bin/sfv-hash
- bin/magnet-link
- bin/has160-hash
- bin/gost12-256-hash
- bin/gost12-512-hash
- bin/edonr512-hash
- bin/edonr256-hash
- bin/ed2k-link
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }}
make --jobs {{ hw.concurrency }} install
make test
test:
script: |
rhash --version