homebrew-core/Formula/global.rb
Adam Vandenberg da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00

18 lines
506 B
Ruby

require 'formula'
class Global < Formula
homepage 'http://www.gnu.org/software/global/'
url 'http://ftpmirror.gnu.org/global/global-6.2.tar.gz'
mirror 'http://ftp.gnu.org/gnu/global/global-6.2.tar.gz'
md5 '30f5c6c0f737a3475ec8786ae6e34648'
def install
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make install"
# we copy these in already
cd share+'gtags' do
rm %w[README COPYING LICENSE INSTALL ChangeLog AUTHORS]
end
end
end