homebrew-core/Formula/xlispstat.rb

35 lines
1.9 KiB
Ruby

class Xlispstat < Formula
desc "Statistical data science environment based on Lisp"
homepage "https://homepage.stat.uiowa.edu/~luke/xls/xlsinfo/"
url "https://homepage.cs.uiowa.edu/~luke/xls/xlispstat/current/xlispstat-3-52-23.tar.gz"
version "3.52.23"
sha256 "9bf165eb3f92384373dab34f9a56ec8455ff9e2bf7dff6485e807767e6ce6cf4"
revision 1
bottle do
sha256 cellar: :any, arm64_ventura: "3b11acb44e728fb2b1707b8700d5b0be9a68ff522884827fe824d44d6333ca33"
sha256 cellar: :any, arm64_monterey: "e11e76582f1aa365ed04b44c6caac0a786b63f12b612399e27ed909803c1bdcf"
sha256 cellar: :any, arm64_big_sur: "1c7230181f7447fb264b14c84d8a6a2e3396faec78af73174ed6543f19536a8a"
sha256 cellar: :any, ventura: "03fc5d039c560d5d3cab884da3911ca4752b5686ca5e9399e8a3417f44da7fdf"
sha256 cellar: :any, monterey: "9d418608c03816945f00a2ccbf93def9a54e6f8b9c00c93b7835a287cf7c2305"
sha256 cellar: :any, big_sur: "30bde68dbe2eada5b7646e5ef4b6fc0f804be39f37ae75244955b3befe803036"
sha256 cellar: :any, catalina: "d2e8f57e8dc13c6b1aaa38af29d291b5974b642626599cf478f3997e2981643a"
sha256 cellar: :any, mojave: "2ad96a0eaeadb61b6eae731c7f8caf19ce6a202b4fab65d474e135c0731b8022"
sha256 cellar: :any, high_sierra: "66e03a45aad7571b1a51c5196236099f11884ee055e7b45fcbdb19d4ae682e90"
sha256 cellar: :any_skip_relocation, x86_64_linux: "45f4149aaf05fa78c789492de2867074891abc4816a5b6abbf04d06433c135d6"
end
depends_on "libx11"
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
ENV.deparallelize # Or make fails bytecompiling lisp code
system "make"
system "make", "install"
end
test do
assert_equal "> 50.5\n> ", pipe_output("#{bin}/xlispstat | tail -2", "(median (iseq 1 100))")
end
end