diff options
| author | Michael Prins | 2012-04-24 00:20:57 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-22 15:02:12 -0700 |
| commit | 2bc2a558940adbf8a0fb0776afb59651ea88f8cf (patch) | |
| tree | 5bb2067dcd1a65ff389d26ce40374fab3eb9f033 /Library | |
| parent | 4a5557fa67bdca4554b153c00822382b88a4e79c (diff) | |
| download | homebrew-2bc2a558940adbf8a0fb0776afb59651ea88f8cf.tar.bz2 | |
rhash 1.2.9
RHash is used to recursively calculate hashes on files, similar to
md5deep, except that it implements a few more specialized hash
algorithms. Key among these are the ones used in many file-sharing
protocols such as DC++, BitTorrent and others.
Closes #11841.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/rhash.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/rhash.rb b/Library/Formula/rhash.rb new file mode 100644 index 000000000..c098680bd --- /dev/null +++ b/Library/Formula/rhash.rb @@ -0,0 +1,13 @@ +require 'formula' + +class Rhash < Formula + homepage 'http://rhash.anz.ru/' + url 'http://downloads.sourceforge.net/project/rhash/rhash/1.2.9/rhash-1.2.9-src.tar.gz' + sha1 '83c0e74a39a7824f430ef24c107e3474831d0acf' + + def install + system 'make', 'install', "PREFIX=#{prefix}", + "DESTDIR=#{prefix}", + "CC=#{ENV.cc}" + end +end |
