mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
18 lines
450 B
Ruby
18 lines
450 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["GIT_DIR"] = cached_download/".git" if build.head?
|
|
ENV.deparallelize
|
|
system "make", "CMAKE_EXTRA_FLAGS=\"-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}\"", "install"
|
|
end
|
|
end
|