aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Woodbridge2010-08-17 23:42:37 -0400
committerAdam Vandenberg2010-08-18 09:34:48 -0700
commitc4574e208f9c2309e916105a6ebc92c0ea74078c (patch)
tree4f71cd172d50af16c179c92d671d5dfd2d5af501
parent08bd8c91097d91f2128688a22f5488657259c053 (diff)
downloadhomebrew-c4574e208f9c2309e916105a6ebc92c0ea74078c.tar.bz2
new formulla: ocrad
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/ocrad.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/ocrad.rb b/Library/Formula/ocrad.rb
new file mode 100644
index 000000000..fb75a15d5
--- /dev/null
+++ b/Library/Formula/ocrad.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Ocrad <Formula
+ url 'http://ftp.gnu.org/gnu/ocrad/ocrad-0.20.tar.gz'
+ homepage 'http://www.gnu.org/software/ocrad/'
+ md5 '47040630580dbc75ce16f4a4fabede3f'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
+
+ inreplace "Makefile" do |s|
+ s.change_make_var! "CPPFLAGS", ENV['CPPFLAGS']
+ s.change_make_var! "CXXFLAGS", ENV['CXXFLAGS']
+ end
+
+ system "make install"
+ end
+end \ No newline at end of file