Files
tigerbrew/Library/Formula/fftw.rb
T
Max Howell e91aeafc82 Created /Library moved brew tool to /bin
Moved Forumla and Cellar/homebrew into Library.

This way the homebrew core files are more sensibly placed, Cellar is
more internally consistent and only generated. And Homebrew is ready for
use straight out of the tarball.
2009-06-04 19:36:58 +01:00

21 lines
581 B
Ruby

require 'brewkit'
class Fftw <Formula
@homepage='http://www.fftw.org'
@url='http://www.fftw.org/fftw-3.2.1.tar.gz'
@md5='712d3f33625a0a76f5758648d4b925f7'
def install
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"
#wtf file?
(prefix+'share'+'info'+'dir').unlink
end
end