23 lines
785 B
Ruby
23 lines
785 B
Ruby
class Mpck < Formula
|
|
desc "Check MP3 files for errors"
|
|
homepage "https://checkmate.gissen.nl/"
|
|
url "https://checkmate.gissen.nl/checkmate-0.21.tar.gz"
|
|
sha256 "a27b4843ec06b069a46363836efda3e56e1daaf193a73a4da875e77f0945dd7a"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "e819ac8ce7eab3b4f83bcdf83cfbb129a9e3cebb36e314dabca646f808ed6257" => :mojave
|
|
sha256 "3ecd47f83f5645cfaf2bfef23b5b9a1b14bb36f2ec146409ca44d9d5f25c3401" => :high_sierra
|
|
sha256 "cd283270b83cf83c3e3a3c393404c1eca16e1620ced195821b97fe5ad6b39236" => :sierra
|
|
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
|