aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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