aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDavid Höppner2009-09-14 18:31:54 +0200
committerMax Howell2009-09-14 20:33:46 +0100
commitd11a9308899c5549a865d5315eec5b029c916cb4 (patch)
treee2041aad5dccc50ede9043e27d0607d362632607 /Library/Formula
parent1adaaff49dc60294c5ac2da65df7b24fc222431f (diff)
downloadhomebrew-d11a9308899c5549a865d5315eec5b029c916cb4.tar.bz2
GNU Global formula
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.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/global.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/global.rb b/Library/Formula/global.rb
new file mode 100644
index 000000000..b81f58a99
--- /dev/null
+++ b/Library/Formula/global.rb
@@ -0,0 +1,15 @@
+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