aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorGavin James2010-12-27 23:13:01 +0000
committerAdam Vandenberg2011-03-22 10:42:57 -0700
commit0189fe09cbd659d5b6a6cac1f64f74bb2768d661 (patch)
tree33d346f0d85b74830f23a4a53a5589d22fc39c56 /Library
parentef3d23bd1e6eeccfec408aefb060b521ac95cbe8 (diff)
downloadhomebrew-0189fe09cbd659d5b6a6cac1f64f74bb2768d661.tar.bz2
doublecpp 0.6.3
Doublecpp is a preprocessor for C++ that handles a new linguistic construct for defining branches of a multi-method. The "right" branch of such a method will be selected dynamically at run-time according to the actual type of the object on which the method is invoked and to the actual type of the first argument: double dispatch. http://doublecpp.sourceforge.net/ Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/doublecpp.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/doublecpp.rb b/Library/Formula/doublecpp.rb
new file mode 100644
index 000000000..39b11961a
--- /dev/null
+++ b/Library/Formula/doublecpp.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Doublecpp < Formula
+ url 'http://downloads.sourceforge.net/doublecpp/doublecpp-0.6.3.tar.gz'
+ homepage 'http://doublecpp.sourceforge.net/'
+ md5 '0537ff74de82901f2e3bd92aaa677b3d'
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+end