homebrew-core/Formula/xlispstat.rb

31 lines
1.3 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"
bottle do
cellar :any_skip_relocation
sha256 "b75a56962e29ab9557eea7218de105ff6a989ce1e473642b29951baebeaa69ce" => :catalina
sha256 "c9b40607436fb010b8c7bdbf20a9bc377f18c5958eca6a8a1439bf29c2721810" => :mojave
sha256 "a2847ae5a3820e85b826117f59a809981fcbfe325abd2f38760cf8003ab9814b" => :high_sierra
sha256 "0180be9b973a87ff7feb72dbaebed8a46f857e1f670e864276e43cc294515870" => :sierra
sha256 "f83a1cc043c82daf6bf4fa9717f090e10e04388544d79771ce8b6848c880b757" => :el_capitan
sha256 "c4004c8fc128a187c35923eff3cb0c5a641f7928aff558559279d5d98abe849d" => :yosemite
end
depends_on :x11
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