5e49b29998
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>
13 lines
364 B
Ruby
13 lines
364 B
Ruby
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
|