From 0189fe09cbd659d5b6a6cac1f64f74bb2768d661 Mon Sep 17 00:00:00 2001 From: Gavin James Date: Mon, 27 Dec 2010 23:13:01 +0000 Subject: 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 --- Library/Formula/doublecpp.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Library/Formula/doublecpp.rb (limited to 'Library') 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 -- cgit v1.2.3