xxhash r42 (new formula)
Closes Homebrew/homebrew#44398. Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
This commit is contained in:
parent
d7349195bd
commit
53fbfb8815
1 changed files with 17 additions and 0 deletions
17
Formula/xxhash.rb
Normal file
17
Formula/xxhash.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
class Xxhash < Formula
|
||||
desc "Extremely fast non-cryptographic hash algorithm"
|
||||
homepage "https://github.com/Cyan4973/xxHash"
|
||||
url "https://github.com/Cyan4973/xxHash/archive/r42.tar.gz"
|
||||
version "r42"
|
||||
sha256 "d21dba3ebf5ea8bf2f587150230189231c8d47e8b63c865c585b08d14c8218b8"
|
||||
|
||||
def install
|
||||
system "make"
|
||||
bin.install "xxhsum"
|
||||
end
|
||||
|
||||
test do
|
||||
(testpath/"leaflet.txt").write "No computer should be without one!"
|
||||
assert_match /^67bc7cc242ebc50a/, shell_output("#{bin}/xxhsum leaflet.txt")
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue