aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Wagner2012-11-16 01:51:04 +0100
committerAdam Vandenberg2013-01-17 13:09:06 -0800
commit14091074c90c0bdb8c4f78de2b45ff71465ba4fc (patch)
tree1ff0a44c6836c63bc672642d8bdfa55f2d4a02b0
parent0e1dd80ac27c717616b8347d2fdc7cad4f1ce1b9 (diff)
downloadhomebrew-14091074c90c0bdb8c4f78de2b45ff71465ba4fc.tar.bz2
normalize 0.7.7
Closes #16101. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/normalize.rb28
1 files changed, 28 insertions, 0 deletions
diff --git a/Library/Formula/normalize.rb b/Library/Formula/normalize.rb
new file mode 100644
index 000000000..57132de15
--- /dev/null
+++ b/Library/Formula/normalize.rb
@@ -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