aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bgrep.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/bgrep.rb')
-rw-r--r--Library/Formula/bgrep.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/bgrep.rb b/Library/Formula/bgrep.rb
new file mode 100644
index 000000000..564f2432c
--- /dev/null
+++ b/Library/Formula/bgrep.rb
@@ -0,0 +1,12 @@
+require 'formula'
+
+class Bgrep < Formula
+ url 'https://github.com/tmbinc/bgrep/tarball/bgrep-0.2'
+ homepage 'https://github.com/tmbinc/bgrep'
+ md5 '0f5b3debbb502b196ef63e277660bccc'
+
+ def install
+ system "#{ENV.cc} #{ENV.cflags} -o bgrep bgrep.c"
+ bin.install "bgrep"
+ end
+end