homebrew-core/Formula/sphinx.rb

20 lines
537 B
Ruby
Raw Normal View History

require 'formula'
class Sphinx <Formula
2009-12-12 18:44:44 +00:00
version '0.9.9'
@url='http://www.sphinxsearch.com/downloads/sphinx-0.9.9.tar.gz'
@homepage='http://www.sphinxsearch.com'
2009-12-12 18:44:44 +00:00
@md5='7b9b618cb9b378f949bb1b91ddcc4f54'
depends_on 'mysql'
def install
2010-01-05 14:48:19 +00:00
# fails with llvm-gcc:
# ld: rel32 out of range in _GetPrivateProfileString from /usr/lib/libodbc.a(SQLGetPrivateProfileString.o)
ENV.gcc_4_2
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end