homebrew-core/Formula/nordugrid-arc.rb
2018-08-27 07:54:15 +02:00

52 lines
1.8 KiB
Ruby

class NordugridArc < Formula
desc "Grid computing middleware"
homepage "http://www.nordugrid.org/"
url "http://download.nordugrid.org/packages/nordugrid-arc/releases/5.0.2/src/nordugrid-arc-5.0.2.tar.gz"
sha256 "d7306d91b544eeba571ede341e43760997c46d4ccdacc8b785c64f594780a9d1"
bottle do
sha256 "a5fba26334ea41da9949cda080a7543164f65132a1288642e6457501752b84a3" => :mojave
sha256 "acfeacf8f5c913e7f7323be53fbbb8e3100fdc6f36455eea6dc9a987e10c4a64" => :high_sierra
sha256 "d216048cdcf93d89caef1a7263e532577e1684dc3217b830ec80b5f61ab175c4" => :sierra
sha256 "c78502aa7927d0376c4f3fed72d7fa258f19d26faaaf302ca5c2cbb17a36cdf2" => :el_capitan
sha256 "121eb7d254c13ae76dada8ba27922dc1dc0b160b2f9fd2c45755c02d6ed67610" => :yosemite
end
depends_on "pkg-config" => :build
depends_on "gettext"
depends_on "glib"
depends_on "glibmm"
depends_on "libxml2"
depends_on "globus-toolkit"
needs :cxx11
# build fails on Mavericks due to a clang compiler bug
# and bottling also fails if gcc is being used due to conflicts between
# libc++ and libstdc++
depends_on :macos => :yosemite
# bug filed upstream at https://bugzilla.nordugrid.org/show_bug.cgi?id=3514
patch do
url "https://gist.githubusercontent.com/tschoonj/065dabc33be5ec636058/raw/beee466cdf5fe56f93af0b07022532b1945e9d2e/nordugrid-arc.diff"
sha256 "5561ea013ddd03ee4f72437f2e01f22b2c0cac2806bf837402724be281ac2b6d"
end
fails_with :clang do
build 500
cause "Fails with 'template specialization requires \"template<>\"'"
end
def install
ENV.cxx11
system "./configure", "--disable-dependency-tracking",
"--disable-swig",
"--prefix=#{prefix}"
system "make", "install"
end
test do
(testpath/"foo").write("data")
system "#{bin}/arccp", "foo", "bar"
end
end