2011-03-10 05:11:03 +00:00
|
|
|
class Faac < Formula
|
2015-02-16 13:04:01 +00:00
|
|
|
homepage "http://www.audiocoding.com/faac.html"
|
|
|
|
url "https://downloads.sourceforge.net/project/faac/faac-src/faac-1.28/faac-1.28.tar.gz"
|
|
|
|
sha1 "d00b023a3642f81bb1fb13d962a65079121396ee"
|
2009-10-07 12:28:37 +00:00
|
|
|
|
2014-02-22 17:34:43 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-10-22 01:39:08 +00:00
|
|
|
revision 1
|
|
|
|
sha1 "46a8facbfd103d787d198e6fb802d6f0948222e0" => :yosemite
|
|
|
|
sha1 "2a1e8a1decd52fcdf6498edd7f8437536d05d453" => :mavericks
|
|
|
|
sha1 "9ea199f750c83887bb9e3d66759a60872672865f" => :mountain_lion
|
2014-02-22 17:34:43 +00:00
|
|
|
end
|
|
|
|
|
2009-10-07 12:28:37 +00:00
|
|
|
def install
|
2013-01-27 23:06:34 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2015-02-16 13:04:01 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"faac", test_fixtures("test.mp3"), "-P", "-o", "test.m4a"
|
|
|
|
assert File.exist?("test.m4a")
|
2009-10-07 12:28:37 +00:00
|
|
|
end
|
|
|
|
end
|