mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
ccd3f9ce67
1. remove unnecessary deps `md5sha1sum` 2. add `=> :build` 3. add missing deps `autoconf`
19 lines
501 B
Ruby
19 lines
501 B
Ruby
require "formula"
|
|
|
|
class Neovim < Formula
|
|
homepage "http://neovim.org"
|
|
head "https://github.com/neovim/neovim.git"
|
|
|
|
depends_on "cmake" => :build
|
|
depends_on "libtool" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "autoconf" => :build
|
|
|
|
def install
|
|
ENV.deparallelize
|
|
system "make", "deps"
|
|
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
|