24 lines
881 B
Ruby
24 lines
881 B
Ruby
class Faad2 < Formula
|
|
desc "ISO AAC audio decoder"
|
|
homepage "http://www.audiocoding.com/faad2.html"
|
|
url "https://downloads.sourceforge.net/project/faac/faad2-src/faad2-2.8.0/faad2-2.8.4.tar.gz"
|
|
sha256 "51145c9a6d412242597ba7dda14f9b0033f447b7241214c1c7ba0e62d3839e7f"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "7314a066ec160768b90fa17ad18a5a85cbe19294d5c5a0cb103bc49a9a9f13c4" => :high_sierra
|
|
sha256 "7d04fe39246fe453bc1962a5608e8a5b680380ed538becc8284b4fc2dc78277d" => :sierra
|
|
sha256 "950de8c20365e5486ba0168c9ca9bf8e6c3fba842d6c88fcd6b48930d463578b" => :el_capitan
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--disable-silent-rules",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
assert_match "infile.mp4", shell_output("#{bin}/faad -h", 1)
|
|
end
|
|
end
|