Skip to content

Instantly share code, notes, and snippets.

@JosephKu
Created August 8, 2011 14:20
Show Gist options
  • Save JosephKu/1131824 to your computer and use it in GitHub Desktop.
Save JosephKu/1131824 to your computer and use it in GitHub Desktop.
Vim formula for HomeBrew
#/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
@JosephKu
Copy link
Author

Update to v7-3-346

@JosephKu
Copy link
Author

Update to v7-3-509

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment