Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
normalize 0.7.7
Browse files Browse the repository at this point in the history
Closes #16101.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
bwagner authored and adamv committed Jan 17, 2013
1 parent 0e1dd80 commit 1409107
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Library/Formula/normalize.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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

0 comments on commit 1409107

Please sign in to comment.