aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorLars Eggert2010-02-10 17:23:26 +0200
committerAdam Vandenberg2010-05-10 22:01:14 -0700
commitffbbcc5e06453423eb21a095380b1133bfdbbe7e (patch)
tree61087e4ce663449ea1849548b36955ff3aa32a74 /Library/Formula
parent1b48aeb35dea37f208db82f91aecff0d12ad7cf1 (diff)
downloadhomebrew-ffbbcc5e06453423eb21a095380b1133bfdbbe7e.tar.bz2
Fenner's bap & friends from svn
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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