Sha256: 55d9b264da9afc6460bb9f4f37e9decca18f3da7a052ab9d444cf03a445c296a

Contents?: true

Size: 451 Bytes

Versions: 4

Compression:

Stored size: 451 Bytes

Contents

#!/bin/sh

set -e
trap ERROR ERR

cd /tmp 

wget -nv http://www.sphinxsearch.com/downloads/sphinx-0.9.7.tar.gz

tar zxpf sphinx-0.9.7.tar.gz

cd sphinx-0.9.7
echo "Configuring sphinx..."
./configure --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib/mysql --prefix=<%= sphinx_prefix %> > configure.log
echo "Compiling sphinx..."
make > make.log
echo "Installing sphinx..."
make install > make_install.log

cd ..
rm -rf sphinx-0.9.7*

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capigen-0.1.1 templates/sphinx/install.sh.erb
capigen-0.1.2 lib/templates/sphinx/install.sh.erb
capigen-0.1.3 lib/templates/sphinx/install.sh.erb
capigen-0.1.4 lib/templates/sphinx/install.sh.erb