homebrew-core/Formula/normalize.rb
Bernhard Wagner 1fb7d195cd normalize 0.7.7
Closes Homebrew/homebrew#16101.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-17 13:09:06 -08:00

28 lines
643 B
Ruby

require 'formula'
class Normalize < Formula
homepage 'http://normalize.nongnu.org/'
url 'http://savannah.nongnu.org/download/normalize/normalize-0.7.7.tar.gz'
sha1 '1509ca998703aacc15f6098df58650b3c83980c7'
option 'without-mad', 'Compile without MP3 support'
depends_on 'mad' unless build.include? 'without-mad'
def install
args = %W[
--disable-debug
--disable-dependency-tracking
--prefix=#{prefix}
--mandir=#{man}
]
args << "--without-mad" if build.include? "without-mad"
system "./configure", *args
system "make install"
end
def test
system "#{bin}/normalize"
end
end