From 3910bdbfbdc57b0f286a13ef5ae977767a75b9c9 Mon Sep 17 00:00:00 2001
From: Max Howell <max@methylblue.com>
Date: Sat, 23 May 2009 16:40:15 +0100
Subject: [PATCH] FFTW formula

---
 Formula/fftw.rb | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Formula/fftw.rb

diff --git a/Formula/fftw.rb b/Formula/fftw.rb
new file mode 100644
index 0000000000..2220270f28
--- /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
-- 
GitLab