homebrew-core/Formula/a52dec.rb

30 lines
1.1 KiB
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class A52dec < Formula
desc "Library for decoding ATSC A/52 streams (AKA 'AC-3')"
homepage "http://liba52.sourceforge.net/"
url "http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz"
sha256 "a21d724ab3b3933330194353687df82c475b5dfb997513eef4c25de6c865ec33"
2015-07-09 23:49:44 +00:00
bottle do
cellar :any
2016-09-25 01:37:11 +00:00
sha256 "150123fdf33421b85f4625d73c015a660300db698a82fd0165475fe8e7081d0b" => :sierra
2016-02-23 11:02:33 +00:00
sha256 "2feac8f578fd1aa43385ce8714b059c90f4aaf3a0401d8ba825939e8e8ab7b1b" => :el_capitan
2015-07-09 23:49:44 +00:00
sha256 "cfe0ddcf275b03d9ad0c626174962601ae18d3f77fa35266228425b818ce4a7f" => :yosemite
sha256 "cb40eed81300fa32069bac07244cf7f56363cc04af853ddb75bada292e8d9912" => :mavericks
sha256 "8311a6c00e6213f754062a6cf243bc807ca2c9b6db73f78de3b8149679d7ccc9" => :mountain_lion
end
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-shared",
"--mandir=#{man}"
system "make", "install"
end
test do
touch testpath/"test"
system "#{bin}/a52dec", "-o", "null", "test"
end
end