aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sgrep.rb
diff options
context:
space:
mode:
authorMartin Kühl2010-04-15 01:31:57 +0200
committerAdam Vandenberg2010-04-29 18:22:38 -0700
commit05da009c814f3702f3423d3e8605735818cb9472 (patch)
treec6543b1e2ba8da4bfa10065b20b5014ccdcc9df1 /Library/Formula/sgrep.rb
parenta4e6393408ee747123587434b38120bf1aba5d92 (diff)
downloadhomebrew-05da009c814f3702f3423d3e8605735818cb9472.tar.bz2
New Formula: sgrep
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/sgrep.rb')
-rw-r--r--Library/Formula/sgrep.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/sgrep.rb b/Library/Formula/sgrep.rb
new file mode 100644
index 000000000..b2b4aeae8
--- /dev/null
+++ b/Library/Formula/sgrep.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Sgrep <Formula
+ url 'ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/sgrep-1.92a.tar.gz'
+ homepage 'http://www.cs.helsinki.fi/u/jjaakkol/sgrep.html'
+ md5 '99eb1ed515648f653fc7be45e0896378'
+
+ def install
+ system "./configure",
+ "--prefix=#{prefix}",
+ "--mandir=#{man}",
+ "--datadir=#{share}/sgrep"
+ system "make install"
+ end
+end