homebrew-core/Formula/faac.rb
2017-10-15 08:41:11 -07:00

25 lines
934 B
Ruby

class Faac < Formula
desc "ISO AAC audio encoder"
homepage "http://www.audiocoding.com/faac.html"
url "https://downloads.sourceforge.net/project/faac/faac-src/faac-1.29/faac-1.29.8.tar.gz"
sha256 "ea0d508cd1aa9d1c00998fa922dc8a4a1535892c204483cba27e5d55bec48973"
bottle do
cellar :any
sha256 "e4d7b558b5e7717dcef5b1e4cc9d1b5d3ba9ac66e8978d6de74473d74fdfed66" => :high_sierra
sha256 "a076d1ee1869b9363e63371688f3c04af1e2db5195fc378e85d05e77ecbb6002" => :sierra
sha256 "9f59be85d6d94a7487c66a0e97833a44775f878ce96c27f360fd2a689b3591cc" => :el_capitan
end
def install
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system bin/"faac", test_fixtures("test.mp3"), "-P", "-o", "test.m4a"
assert_predicate testpath/"test.m4a", :exist?
end
end