homebrew-core/Formula/aacgain.rb

31 lines
1 KiB
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Aacgain < Formula
homepage "http://aacgain.altosdesign.com/"
# This server will autocorrect a 1.9 url back to this 1.8 tarball.
# The 1.9 version mentioned on the website is pre-release, so make
# sure 1.9 is actually out before updating.
# See: https://github.com/Homebrew/homebrew/issues/16838
url "http://aacgain.altosdesign.com/alvarez/aacgain-1.8.tar.bz2"
sha1 "331039c4231e4d85ae878795ce3095dd96dcbfdb"
2015-02-23 08:39:35 +00:00
bottle do
cellar :any
sha1 "a90e244d0c89d787d1687ef2adb482624f6d2bb8" => :yosemite
sha1 "0a5c772e3ca281678d468dec7757df7517f9ae1e" => :mavericks
sha1 "98f1d3415005700417fc8116d0428a0df975b2e4" => :mountain_lion
end
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
2012-07-26 05:38:15 +00:00
"--prefix=#{prefix}"
system "make", "install"
end
test do
# aacgain modifies files in-place
# See: https://github.com/Homebrew/homebrew/pull/37080
cp test_fixtures("test.mp3"), "test.mp3"
system "#{bin}/aacgain", "test.mp3"
end
end