26 lines
1.1 KiB
Ruby
26 lines
1.1 KiB
Ruby
class Svdlibc < Formula
|
|
desc "C library to perform singular value decomposition"
|
|
homepage "https://tedlab.mit.edu/~dr/SVDLIBC/"
|
|
url "https://tedlab.mit.edu/~dr/SVDLIBC/svdlibc.tgz"
|
|
version "1.4"
|
|
sha256 "aa1a49a95209801803cc2d9f8792e482b0e8302da8c7e7c9a38e25e5beabe5f8"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
rebuild 3
|
|
sha256 "dc6f967a82e022b8bd193a0f346aa50b17df609de22acda3ead9eac89b1fd103" => :mojave
|
|
sha256 "7b1c2af44513a0280c2922b22dd0107189e9872a6dc2e0476df2b8c47902cf40" => :high_sierra
|
|
sha256 "91a70ced4042615305d39e9d4d88d91b4d971bf8bb40e883b8f7a2682bb2e729" => :sierra
|
|
sha256 "f4e320bb8555cfed8d39a134153df533a3b921ae01827728cba36c6217bb85be" => :el_capitan
|
|
sha256 "da1b02f2d5758322ddcfc30b0513249f31dd1aad96fd2f3377e9edc301f7c686" => :yosemite
|
|
sha256 "3be9467077ff9035209957c3c8111b3a50be89cce873726119efba60856eca38" => :mavericks
|
|
end
|
|
|
|
def install
|
|
# make only builds - no configure or install targets, have to copy files manually
|
|
system "make", "HOSTTYPE=target"
|
|
include.install "svdlib.h"
|
|
lib.install "target/libsvd.a"
|
|
bin.install "target/svd"
|
|
end
|
|
end
|