blob: 639a561cf38a6f53d9f149312ca99f61d12181f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
require 'formula'
class Sphinx <Formula
version '0.9.9'
@url='http://www.sphinxsearch.com/downloads/sphinx-0.9.9.tar.gz'
@homepage='http://www.sphinxsearch.com'
@md5='7b9b618cb9b378f949bb1b91ddcc4f54'
depends_on 'mysql'
def install
# 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
|