2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-14 16:31:54 +00:00
|
|
|
|
|
|
|
class Global <Formula
|
2010-02-17 14:10:26 +00:00
|
|
|
@url='http://tamacom.com/global/global-5.8.tar.gz'
|
2009-09-14 16:31:54 +00:00
|
|
|
@homepage='http://www.gnu.org/software/global/'
|
2010-02-17 14:10:26 +00:00
|
|
|
@md5='7ba2efb55269615b2722cca36aced2cb'
|
2009-09-14 16:31:54 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
|
|
system "make install"
|
|
|
|
|
|
|
|
# we copy these in already
|
2010-02-17 14:10:26 +00:00
|
|
|
Dir.chdir(share+'gtags') do
|
|
|
|
FileUtils.rm %w[README COPYING LICENSE INSTALL ChangeLog AUTHORS]
|
|
|
|
end
|
2009-09-14 16:31:54 +00:00
|
|
|
end
|
|
|
|
end
|