Skip to content

Instantly share code, notes, and snippets.

@turtlebender
Forked from brucespang/vim.rb
Created February 2, 2012 15:16
Show Gist options
  • Save turtlebender/1723933 to your computer and use it in GitHub Desktop.
Save turtlebender/1723933 to your computer and use it in GitHub Desktop.
Vim formula for Homebrew
require 'formula'
class Vim < Formula
# Get stable versions from hg repo instead of downloading an increasing
# number of separate patches.
url 'https://vim.googlecode.com/hg/', :revision => '992b24149a9e'
version '7.3.333'
homepage 'http://www.vim.org/'
head 'https://vim.googlecode.com/hg/'
def install
system "./configure", "--prefix=#{prefix}",
"--mandir=#{man}",
"--enable-gui=auto",
"--enable-multibyte",
"--with-tlib=ncurses",
"--enable-clientserver",
"--enable-pythoninterp",
"--enable-rubyinterp",
"--with-ruby-command=/usr/local/bin/ruby",
"--with-features=huge",
"--enable-cscope"
system "make"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment