Skip to content

Instantly share code, notes, and snippets.

@vesln vesln/vim.rb
Created Sep 21, 2012

Embed
What would you like to do?
Vim Formula with Ruby & Python support for OS X
require 'formula'
class Vim < Formula
homepage 'http://www.vim.org/'
version '7.3.666'
url 'https://vim.googlecode.com/hg/', :revision => '1e22adc6176e'
head 'https://vim.googlecode.com/hg/'
def install
options = [
"--prefix=#{prefix}",
"--mandir=#{man}",
'--enable-gui=no',
'--without-x',
'--disable-nls',
'--enable-multibyte',
'--with-tlib=ncurses',
'--enable-pythoninterp',
'--enable-rubyinterp',
'--with-ruby-command=/usr/bin/ruby',
'--with-features=huge'
]
system "./configure", *options
system 'make'
system 'make install'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.