Skip to content

Instantly share code, notes, and snippets.

@Widdershin
Forked from proglottis/kitchen_sync.rb
Last active October 20, 2015 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Widdershin/8694e7f4b650ce65c40b to your computer and use it in GitHub Desktop.
Save Widdershin/8694e7f4b650ce65c40b to your computer and use it in GitHub Desktop.
require "formula"
class KitchenSync < Formula
homepage "https://github.com/willbryant/kitchen_sync"
url "https://github.com/willbryant/kitchen_sync/archive/0.47.tar.gz"
sha1 "b222273ca35be5e6d9dd609cd1532d204c88cee0"
depends_on "cmake" => :build
depends_on "boost"
depends_on "yaml-cpp"
depends_on :mysql => :recommended
depends_on :postgresql => :recommended
def install
system "cmake", ".", *std_cmake_args
system "make", "install"
end
test do
system "#{bin}/ks"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment