Skip to content

Instantly share code, notes, and snippets.

@fujimura
Forked from JosephKu/vim.rb
Created September 8, 2011 04:44
Show Gist options
  • Save fujimura/1202644 to your computer and use it in GitHub Desktop.
Save fujimura/1202644 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 <chiehfang.ku@gmail.com>
# All right reserved.
require 'formula'
class Vim < Formula
url 'https://vim.googlecode.com/hg/', :tag => 'v7-3-269'
#url 'ftp://ftp.vim.rog/pub/vim/unix/vim-7.3.tar.bz2'
#md5 '5b9510a17074e2b37d8bb38ae09edbf2'
version '7.3.269'
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment