homebrew-core/Formula/globus-toolkit.rb
2017-10-05 15:21:13 +02:00

34 lines
1.2 KiB
Ruby

class GlobusToolkit < Formula
desc "Toolkit used for building grids"
homepage "https://www.globus.org/toolkit/"
# Note: Stable distributions have an even minor version number (e.g. 5.0.3)
url "https://downloads.globus.org/toolkit/gt6/stable/installers/src/globus_toolkit-6.0.1506371041.tar.gz"
sha256 "77911b143a0bee937ecd7ca9d5c646c0d0bf82756bbe5e831bf281d05c0e7bb9"
bottle do
sha256 "be2982e801761c61955f9ac4ec7390fc860bb9049001d722dcd2feef4f35ad78" => :high_sierra
sha256 "ea777b778a8c90f71f0e56e44a3a6e1eb4708647102ebccf983b4ed4945615c4" => :sierra
sha256 "792897db1d326a27b8185ad49fdddbea89b6b12203a056b9f0eeb91b57bbc93f" => :el_capitan
end
depends_on "pkg-config" => :build
depends_on "libtool" => :run
depends_on "openssl"
def install
ENV.deparallelize
ENV["MACOSX_DEPLOYMENT_TARGET"] = MacOS.version
man.mkpath
system "./configure", "--prefix=#{libexec}",
"--mandir=#{man}",
"--disable-dependency-tracking"
system "make"
system "make", "install"
bins = Dir["#{libexec}/bin/*"].select { |f| File.executable? f }
bin.write_exec_script bins
end
test do
system "#{bin}/globusrun", "-help"
end
end