Skip to content

Instantly share code, notes, and snippets.

@chrislerum
Created January 24, 2011 05:57
Show Gist options
  • Save chrislerum/792896 to your computer and use it in GitHub Desktop.
Save chrislerum/792896 to your computer and use it in GitHub Desktop.
formula for grabbing recent vim from google code
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