mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 19:39:48 -05:00
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.
21 lines
581 B
Ruby
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 |