Created
August 4, 2011 02:59
-
-
Save jlong/1124410 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# My homebrew formula for compiling Vim for the console with support | |
# for 256 colors + ruby, etc. | |
# | |
# To install, drop /usr/local/Library/Formulas/ and execute: | |
# | |
# brew install -f vim | |
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 => '25be7c9dda54' | |
version '7.3.266' | |
homepage 'http://www.vim.org/' | |
head 'https://vim.googlecode.com/hg/' | |
def install | |
system "./configure", "--prefix=#{prefix}", | |
"--mandir=#{man}", | |
"--enable-gui=no", | |
"--without-x", | |
"--disable-nls", | |
"--disable-gpm", | |
"--enable-multibyte", | |
"--enable-256-color", | |
"--with-tlib=ncurses", | |
"--enable-perlinterp", | |
"--enable-pythoninterp", | |
"--enable-rubyinterp", | |
"--with-ruby-command=/usr/bin/ruby", | |
"--with-features=huge" | |
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