51 lines
2.7 KiB
Ruby
51 lines
2.7 KiB
Ruby
class Schroedinger < Formula
|
|
desc "High-speed implementation of the Dirac codec"
|
|
homepage "https://launchpad.net/schroedinger"
|
|
url "https://launchpad.net/schroedinger/trunk/1.0.11/+download/schroedinger-1.0.11.tar.gz"
|
|
mirror "https://deb.debian.org/debian/pool/main/s/schroedinger/schroedinger_1.0.11.orig.tar.gz"
|
|
sha256 "1e572a0735b92aca5746c4528f9bebd35aa0ccf8619b22fa2756137a8cc9f912"
|
|
|
|
bottle do
|
|
rebuild 1
|
|
sha256 cellar: :any, arm64_ventura: "ada44d9f9a740f64fb2d3f66e55f7fc9f523aef0c160866ee301f54a9a9c084b"
|
|
sha256 cellar: :any, arm64_monterey: "7723de84138cae533fd4304aad54edcbb22d9815e8eebd23f8617ae6523a0a18"
|
|
sha256 cellar: :any, arm64_big_sur: "eed0918ea3c7ff3e75968249865c6743b5dd6a444b1022f15926c9e0b3496cfb"
|
|
sha256 cellar: :any, ventura: "713177f50bfbaa6d29d889da79eab19ff45b94e2d967514b64650707afa261b7"
|
|
sha256 cellar: :any, monterey: "eb3f714b77e5562bad12a8071a07cb45690ece3b0b8b544b56fc06501e83fb0e"
|
|
sha256 cellar: :any, big_sur: "81ea2f319f7e300c222b2788fdb03bfc3b3177f5a8166caa88afc1b4538b291d"
|
|
sha256 cellar: :any, catalina: "904f8940085832802e511565d1bcea91262a0ca871612509c1e521db37da4227"
|
|
sha256 cellar: :any, mojave: "ab901d9879b3bc110eeb7eadd5ab815af7d7fc446b2f5577795737c410c3bf4e"
|
|
sha256 cellar: :any, high_sierra: "1e9953cbef67e87a7ca9ebecfcc4af5f0eb2261d17f3a1195386b7512b9312be"
|
|
sha256 cellar: :any, sierra: "7d2d6d343f571e21f27ce5c13645ebe7039e4d45d2b96dba550f6383185c18f6"
|
|
sha256 cellar: :any, el_capitan: "1b990c49b7d72f3030bcee52bf70094a6cf16111867565cdb7541f670636cf05"
|
|
sha256 cellar: :any_skip_relocation, x86_64_linux: "32c7db0617f2a2d01b89d446860529fc3520f377e601a460fadc5e3ce2bc0baa"
|
|
end
|
|
|
|
head do
|
|
url "lp:schroedinger", using: :bzr
|
|
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "libtool" => :build
|
|
end
|
|
|
|
depends_on "pkg-config" => :build
|
|
depends_on "orc"
|
|
|
|
def install
|
|
system "autoreconf", "-fvi" if build.head?
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
|
|
# The test suite is known not to build against Orc >0.4.16 in Schroedinger 1.0.11.
|
|
# A fix is in upstream, so test when pulling 1.0.12 if this is still needed. See:
|
|
# https://www.mail-archive.com/schrodinger-devel@lists.sourceforge.net/msg00415.html
|
|
inreplace "Makefile" do |s|
|
|
s.change_make_var! "SUBDIRS", "schroedinger doc tools"
|
|
s.change_make_var! "DIST_SUBDIRS", "schroedinger doc tools"
|
|
end
|
|
|
|
system "make", "install"
|
|
end
|
|
end
|