aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2009-05-23 16:40:15 +0100
committerMax Howell2009-05-23 18:21:30 +0100
commit3910bdbfbdc57b0f286a13ef5ae977767a75b9c9 (patch)
tree8676a6c4124861633b84510fdb3b2cd8d34504dc
parent3c3f1a1c921b8f5fdcc7d71e59d189fec5421771 (diff)
downloadbrew-3910bdbfbdc57b0f286a13ef5ae977767a75b9c9.tar.bz2
FFTW formula
-rw-r--r--Formula/fftw.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Formula/fftw.rb b/Formula/fftw.rb
new file mode 100644
index 000000000..2220270f2
--- /dev/null
+++ b/Formula/fftw.rb
@@ -0,0 +1,17 @@
+$:.unshift "#{File.dirname __FILE__}/../Cellar/homebrew" #rubysucks
+require 'brewkit'
+
+homepage='http://www.fftw.org'
+url='http://www.fftw.org/fftw-3.2.1.tar.gz'
+md5='712d3f33625a0a76f5758648d4b925f7'
+
+Formula.new(url, md5).brew do |prefix|
+ configure=<<-EOS
+ ./configure --enable-shared --disable-debug --prefix='#{prefix}'
+ --enable-threads --enable-single --enable-sse
+ --disable-dependency-tracking
+ --disable-fortran
+ EOS
+ system configure.gsub("\n", ' ').strip.squeeze(' ')
+ system "make install"
+end \ No newline at end of file