Created
October 23, 2015 16:26
-
-
Save FZambia/c3997965bb48f504613a to your computer and use it in GitHub Desktop.
tarantool.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Tarantool < Formula | |
homepage 'http://tarantool.org' | |
url 'http://tarantool.org/dist/master/tarantool-1.6.6-249-g82c0c4d-src.tar.gz' | |
sha256 '3f31e37e7c2a6fed9d472abe440892f6aaf16ef9867ed475f5a67804a342d673' | |
head 'https://github.com/tarantool/tarantool.git', :using => :git | |
depends_on 'cmake' => :build | |
def install | |
system "cmake", ".", | |
"-DCMAKE_BUILD_TYPE=RelWithDebugInfo", | |
"-DCMAKE_LOCALSTATE_DIR=#{prefix}/var", | |
"-DCMAKE_SYSCONF_DIR=#{prefix}/etc", | |
*std_cmake_args | |
system "make" | |
system "make install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment