77a777e8a2
GNU GLOBAL is a source code tagging system that works the same way across diverse environments (emacs, vi, less, bash, web browser, etc). You can locate specified objects in source files and move there easily. It is useful for hacking a large project containing many subdirectories, many #ifdef and many main() functions. It is similar to ctags or etags but is different from them at the point of independence of any editor. It runs on a UNIX(POSIX) compatible operating system like GNU and BSD.
15 lines
452 B
Ruby
15 lines
452 B
Ruby
require 'brewkit'
|
|
|
|
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
|