30 lines
1.6 KiB
Ruby
30 lines
1.6 KiB
Ruby
class Doublecpp < Formula
|
|
desc "Double dispatch in C++"
|
|
homepage "https://doublecpp.sourceforge.io/"
|
|
url "https://downloads.sourceforge.net/project/doublecpp/doublecpp/0.6.3/doublecpp-0.6.3.tar.gz"
|
|
sha256 "232f8bf0d73795558f746c2e77f6d7cb54e1066cbc3ea7698c4fba80983423af"
|
|
license "GPL-2.0"
|
|
|
|
bottle do
|
|
sha256 cellar: :any_skip_relocation, arm64_big_sur: "26cdd6d6565fccc24bf7099bf4b2aa779c6e7dabe8908d408e929f4fbf861de7"
|
|
sha256 cellar: :any_skip_relocation, big_sur: "3f4d63ed1afe1fa65825d925b8e90ff32e867de820c41159f52c4532a4df92b7"
|
|
sha256 cellar: :any_skip_relocation, catalina: "429cf6757b46b6f0289439d40db98e3a574a4bf0bde930f8b9ae25a55f4452cb"
|
|
sha256 cellar: :any_skip_relocation, mojave: "eed3920bd4e85e32542ce2a67fc9d928f8d8ddfceb0b48e80ddd9db30090e9e6"
|
|
sha256 cellar: :any_skip_relocation, high_sierra: "ca161369434cba6763add99e4e470a495662c866a328b374c5d6184e687361cc"
|
|
sha256 cellar: :any_skip_relocation, sierra: "748af7fb63392453cc4b648cea20786173202f5c891b45765dbf374e4ac2c2d5"
|
|
sha256 cellar: :any_skip_relocation, el_capitan: "208aa405fce2959b47f705ab8ba9104e8eadec3e8e709bddd3117ef7b074bedf"
|
|
sha256 cellar: :any_skip_relocation, yosemite: "54f99b448e61043c5152441c309ea849b1d04fbde12ab67e023aee074dc206ee"
|
|
sha256 cellar: :any_skip_relocation, mavericks: "cfd2231b9a8ecb53216905392c8e1aaa6841ea912f18dc6059d9ebfa1fa5f118"
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/doublecpp", "--version"
|
|
end
|
|
end
|