2014-02-23 14:08:33 -07:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Neovim < Formula
|
|
|
|
homepage 'http://neovim.org'
|
|
|
|
head 'https://github.com/neovim/neovim.git'
|
|
|
|
|
|
|
|
depends_on 'md5sha1sum'
|
|
|
|
depends_on 'cmake'
|
|
|
|
depends_on 'libtool'
|
|
|
|
depends_on 'automake'
|
|
|
|
|
|
|
|
def install
|
2014-03-01 15:46:56 -07:00
|
|
|
ENV.deparallelize
|
2014-03-18 21:22:30 -07:00
|
|
|
system "make", "deps"
|
2014-03-16 22:56:16 -07:00
|
|
|
system "cmake", "-DCMAKE_BUILD_TYPE=Debug", "-DCMAKE_PREFIX_PATH=.deps/usr", "-DLibUV_USE_STATIC=YES", "-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}"
|
|
|
|
system "make", "install"
|
2014-02-23 14:08:33 -07:00
|
|
|
end
|
|
|
|
end
|