61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
15 lines
452 B
Ruby
15 lines
452 B
Ruby
require 'formula'
|
|
|
|
class Global <Formula
|
|
@url='http://ftp.gnu.org/gnu/global/global-5.6.tar.gz'
|
|
@homepage='http://www.gnu.org/software/global/'
|
|
@md5='cc1f79cb4f62ab4b4c8b5e8a68c51f5e'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
|
|
# we copy these in already
|
|
(share+'gtags').rm %w[README COPYING LICENSE INSTALL ChangeLog AUTHORS]
|
|
end
|
|
end
|