aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bap.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/bap.rb b/Library/Formula/bap.rb
new file mode 100644
index 000000000..ec5ef1800
--- /dev/null
+++ b/Library/Formula/bap.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Bap <Formula
+ head 'http://bap.googlecode.com/svn/trunk/'
+ homepage 'http://code.google.com/p/bap/'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ inreplace "scanner.l", "int yylineno", "//int yylineno"
+ system "make"
+ bin.install %w(bap aex prep)
+ doc.install "TODO"
+ end
+end