Created
January 24, 2011 05:57
-
-
Save chrislerum/792896 to your computer and use it in GitHub Desktop.
formula for grabbing recent vim from google code
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
1 require 'formula' | |
2 | |
3 class Vim <Formula | |
4 # Get stable versions from hg repo instead of downloading an increasing | |
5 # number of separate patches. | |
6 url 'https://vim.googlecode.com/hg/', :revision => '538cd32208' | |
7 version '7.3.011' | |
8 homepage 'http://www.vim.org/' | |
9 | |
10 head 'https://vim.googlecode.com/hg/' | |
11 | |
12 def install | |
13 system "./configure", "--prefix=#{prefix}", | |
14 "--mandir=#{man}", | |
15 "--enable-gui=no", | |
16 "--without-x", | |
17 "--disable-nls", | |
18 "--enable-multibyte", | |
19 "--with-tlib=ncurses", | |
20 "--with-features=huge" | |
21 system "make" | |
22 system "make install" | |
23 end | |
24 end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment