Skip to content

Instantly share code, notes, and snippets.

@mipearson
Created November 3, 2011 05:07
Show Gist options
  • Save mipearson/1335818 to your computer and use it in GitHub Desktop.
Save mipearson/1335818 to your computer and use it in GitHub Desktop.
A condensed example of using Debra to build sphinxsearch
# A condensed example of using Debra (http://rcrowley.org/articles/packaging.html)
# to build sphinx-2.0.1-beta1
# First, Install debra as at http://rcrowley.github.com/debra/
wget http://sphinxsearch.com/files/sphinx-2.0.1-beta.tar.gz
debra sourceinstall sphinxsearch sphinx-2.0.1-beta.tar.gz -p /usr
debra create sphinxsearch control
vim sphinxsearch/DEBIAN/control # set package name, version, architecture
debra build sphinxsearch sphinxsearch_2.0.1-beta1_x64_86.deb
sudo dpkg -i sphinxsearch_2.0.1-beta1_x64_86.deb
@mipearson
Copy link
Author

It turns out, according to debra's author, we should be using FPM instead. Here's FPM: https://github.com/jordansissel/fpm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment