blob: 37fd2d3bdf698fd5f461e9a477020a23b27810ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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
|