class Omniorb < Formula desc "IOR and naming service utilities for omniORB" homepage "https://omniorb.sourceforge.io/" url "https://downloads.sourceforge.net/project/omniorb/omniORB/omniORB-4.2.4/omniORB-4.2.4.tar.bz2" sha256 "28c01cd0df76c1e81524ca369dc9e6e75f57dc70f30688c99c67926e4bdc7a6f" license "GPL-2.0" livecheck do url :stable regex(%r{url=.*?/omniORB[._-]v?(\d+(?:\.\d+)+(?:-\d+)?)\.t}i) end bottle do cellar :any sha256 "a467b416e7657794555b547ee7caf8f0395e67ecf7501b393d29c620598af535" => :catalina sha256 "cb9ddb09f1d53ac587cd9eb83e198757350d8d1432cfa8c3f091a3ab78f0c922" => :mojave sha256 "e7465503bce133c41d4f122107e22559a5e82785f0a3af7747da8ccc44975035" => :high_sierra end depends_on "pkg-config" => :build resource "bindings" do url "https://downloads.sourceforge.net/project/omniorb/omniORBpy/omniORBpy-4.2.4/omniORBpy-4.2.4.tar.bz2" sha256 "dae8d867559cc934002b756bc01ad7fabbc63f19c2d52f755369989a7a1d27b6" end def install system "./configure", "--prefix=#{prefix}" system "make" system "make", "install" resource("bindings").stage do system "./configure", "--prefix=#{prefix}" system "make", "install" end end test do system "#{bin}/omniidl", "-h" end end