homebrew-core/Formula/cksfv.rb

19 lines
494 B
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Cksfv < Formula
desc "File verification utility"
homepage "http://zakalwe.fi/~shd/foss/cksfv/"
url "http://zakalwe.fi/~shd/foss/cksfv/files/cksfv-1.3.14.tar.bz2"
sha256 "8f3c246f3a4a1f0136842a2108568297e66e92f5996e0945d186c27bca07df52"
2009-09-21 16:17:56 +00:00
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
2009-09-21 16:17:56 +00:00
end
test do
path = testpath/"foo"
path.write "abcd"
2014-05-04 19:12:41 +00:00
assert shell_output("#{bin}/cksfv #{path}").include?("#{path} ED82CD11")
end
2009-09-21 16:17:56 +00:00
end