neovim/neovim.rb
Tayler Mulligan 1fcd332e8e Removed testing for Homebrew installs
Fixes the luarocks/busted error.  Homebrew isn't exactly being
facilitated, so it's not an ideal solution, but it works.
2014-03-18 19:40:23 -03:00

21 lines
588 B
Ruby

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
ENV.deparallelize
system "sh", "-e", "scripts/compile-libuv.sh"
system "sh", "-e", "scripts/compile-lua.sh"
system "sh", "-e", "scripts/setup-test-tools.sh"
system "cmake", "-DCMAKE_BUILD_TYPE=Debug", "-DCMAKE_PREFIX_PATH=.deps/usr", "-DLibUV_USE_STATIC=YES", "-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}"
system "make", "install"
end
end