aboutsummaryrefslogtreecommitdiffstats
path: root/Formula/mad.rb
diff options
context:
space:
mode:
authorMax Howell2009-05-21 00:04:43 +0100
committerMax Howell2009-05-21 00:04:43 +0100
commit84c5c3e5c301382ede5b1f04c7440ee9055589af (patch)
treefe8248a0b54da1dbb92693f9dca7db0c6bb56ed9 /Formula/mad.rb
parent29d85578e75170a6c0eaebda4d701b46f1acf446 (diff)
downloadbrew-0.1.tar.bz2
The core tree, and some formulae0.1
Diffstat (limited to 'Formula/mad.rb')
-rw-r--r--Formula/mad.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Formula/mad.rb b/Formula/mad.rb
new file mode 100644
index 000000000..0cd7bad0f
--- /dev/null
+++ b/Formula/mad.rb
@@ -0,0 +1,12 @@
+$:.unshift "#{File.dirname __FILE__}/../Cellar/homebrew" #rubysucks
+require 'brewkit'
+
+homepage='http://www.underbit.com/products/mad/'
+url='http://kent.dl.sourceforge.net/sourceforge/mad/libmad-0.15.1b.tar.gz'
+md5='1be543bc30c56fb6bea1d7bf6a64e66c'
+
+Formula.new(url, md5).brew do |prefix|
+ `./configure --disable-debugging --enable-fpm=intel --prefix="#{prefix}"`
+ `make`
+ `make install`
+end \ No newline at end of file