Skip to content

Instantly share code, notes, and snippets.

@RobinDaugherty
Created December 6, 2012 20:13
Show Gist options
  • Save RobinDaugherty/4227907 to your computer and use it in GitHub Desktop.
Save RobinDaugherty/4227907 to your computer and use it in GitHub Desktop.
Homebrew formula for libsphinxclient
require 'formula'
class Libsphinxclient < Formula
url 'http://sphinxsearch.com/files/sphinx-2.0.6-release.tar.gz'
homepage 'http://www.sphinxsearch.com'
sha1 'fe1b990052f961a100adba197abe806a3c1b70dc'
head 'http://sphinxsearch.googlecode.com/svn/trunk/'
def install
Dir.chdir "api/libsphinxclient" do
ENV['CXXCPP'] = "gcc -E"
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment