Created
September 21, 2012 09:17
-
-
Save vesln/3760533 to your computer and use it in GitHub Desktop.
Vim Formula with Ruby & Python support for OS X
This file contains hidden or 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
require 'formula' | |
class Vim < Formula | |
homepage 'http://www.vim.org/' | |
version '7.3.666' | |
url 'https://vim.googlecode.com/hg/', :revision => '1e22adc6176e' | |
head 'https://vim.googlecode.com/hg/' | |
def install | |
options = [ | |
"--prefix=#{prefix}", | |
"--mandir=#{man}", | |
'--enable-gui=no', | |
'--without-x', | |
'--disable-nls', | |
'--enable-multibyte', | |
'--with-tlib=ncurses', | |
'--enable-pythoninterp', | |
'--enable-rubyinterp', | |
'--with-ruby-command=/usr/bin/ruby', | |
'--with-features=huge' | |
] | |
system "./configure", *options | |
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