homebrew-core/Formula/mpck.rb

24 lines
774 B
Ruby

class Mpck < Formula
desc "Check MP3 files for errors"
homepage "http://checkmate.gissen.nl/"
url "http://checkmate.gissen.nl/checkmate-0.19.tar.gz"
sha256 "940f95d445bab629051930ef61c5614bdfbe9df6f450f1ffab86eaf885e79195"
bottle do
cellar :any
sha256 "e158ae142375591d361c6204ccc08072a29b52cee927726f9c30b063b51a0664" => :yosemite
sha256 "fcbf3745544824e2569004626c6a307800ef55aa2fcd667d278eaa5c34340452" => :mavericks
sha256 "09d7c03fdd0149b7efc7ecd36dab1e38de7af870484ad676d11e0ca78c7543ea" => :mountain_lion
end
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/mpck", test_fixtures("test.mp3")
end
end