homebrew-core/Formula/sha3sum.rb

20 lines
515 B
Ruby
Raw Normal View History

class Sha3sum < Formula
desc "Keccak, SHA-3, SHAKE, and RawSHAKE checksum utilities"
homepage "https://github.com/maandree/sha3sum"
url "https://github.com/maandree/sha3sum/archive/1.1.5.tar.gz"
sha256 "1a4eef5b09b7f70af1f6970840475d4735a14b4fab21937b9fd104b8606654ce"
depends_on "libkeccak"
def install
system "make", "install", "PREFIX=#{prefix}"
inreplace "test", "./", "#{bin}/"
pkgshare.install "test"
end
test do
cp_r pkgshare/"test", testpath
system "./test"
end
end