Skip to content

Instantly share code, notes, and snippets.

@rjungemann
Created March 19, 2011 19:03
Show Gist options
  • Save rjungemann/877711 to your computer and use it in GitHub Desktop.
Save rjungemann/877711 to your computer and use it in GitHub Desktop.
An Exuberant Ctags formula that works with Vim
require 'formula'
# An older version, 5.6, is necessary to work with Vim's Taglist plugin.
class Ctags < Formula
url 'http://downloads.sourceforge.net/ctags/ctags-5.6.tar.gz'
homepage 'http://ctags.sourceforge.net/'
md5 '9026a6c6950751bc4fd1be37e8a2070f'
head 'https://ctags.svn.sourceforge.net/svnroot/ctags/trunk'
def install
system "autoheader" if ARGV.build_head?
system "autoconf" if ARGV.build_head?
system "./configure", "--prefix=#{prefix}",
"--enable-macro-patterns",
"--mandir=#{man}",
"--with-readlib"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment