Created
August 8, 2011 14:20
-
-
Save JosephKu/1131824 to your computer and use it in GitHub Desktop.
Vim formula for HomeBrew
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
#/usr/local/Library/Formula/vim.rb | |
# | |
# Vim formula for HomeBrew | |
# | |
# Written by Joseph Ku <[email protected]> | |
# All right reserved. | |
require 'formula' | |
class Vim < Formula | |
url 'https://vim.googlecode.com/hg/', :tag => 'v7-3-509' | |
#url 'ftp://ftp.vim.rog/pub/vim/unix/vim-7.3.tar.bz2' | |
#md5 '5b9510a17074e2b37d8bb38ae09edbf2' | |
version '7.3.509' | |
head 'https://vim.googlecode.com/hg', :using => :hg | |
homepage 'http://www.vim.org/' | |
def install | |
args = [ "--prefix=#{prefix}", | |
"--mandir=#{man}", | |
"--enable-gui=no", | |
"--without-x", | |
"--disable-nls", | |
"--enable-multibyte", | |
"--with-tlib=ncurses", | |
"--enable-rubyinterp", | |
"--enable-ruby-command=/usr/bin/ruby", | |
"--enable-pythoninterp", | |
"--with-features=huge" ] | |
system "./configure", *args | |
system "make install" | |
end | |
end |
If you are using RVM, please remember to use system Ruby before you install this formula:
$ rvm use system
Update to v7-3-346
Update to v7-3-509
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To install this formula, right-click 'raw' at the top-right corner of the text area, copy URL, and run the following command:
If you want to download this formula to /usr/local/Library/Formula/, and install it locally, please install it with the option
--force
, since the latest HomeBrew had the "blacklist" check:Note:
To get the sources of Vim, please install Mercurial first: