2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-14 16:31:54 +00:00
|
|
|
|
|
|
|
class Global <Formula
|
2010-03-16 18:39:18 +00:00
|
|
|
url 'http://tamacom.com/global/global-5.8.1.tar.gz'
|
2010-03-12 11:29:55 +00:00
|
|
|
homepage 'http://www.gnu.org/software/global/'
|
2010-03-16 18:39:18 +00:00
|
|
|
md5 '9c357098e42c9ba32776ccd6b549d85d'
|
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
|