Skip to content

Instantly share code, notes, and snippets.

@logie17
Created October 30, 2012 16:39
Show Gist options
  • Save logie17/3981398 to your computer and use it in GitHub Desktop.
Save logie17/3981398 to your computer and use it in GitHub Desktop.
require 'formula'
class Vim < Formula
homepage 'http://www.vim.org/'
url 'https://vim.googlecode.com/hg/', :tag => 'v7-3-712'
version '7.3.712'
head 'https://vim.googlecode.com/hg/'
def install
system "./configure", "--prefix=#{HOMEBREW_PREFIX}",
"--mandir=#{man}",
"--enable-gui=no",
"--without-x",
"--disable-nls",
"--enable-multibyte",
"--with-tlib=ncurses",
"--enable-perlinterp",
"--enable-cscope",
"--with-features=huge"
system "make"
system "make", "install", "prefix=#{prefix}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment