2010-04-20 13:45:51 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Svdlibc < Formula
|
2010-04-20 13:45:51 +00:00
|
|
|
homepage 'http://tedlab.mit.edu/~dr/SVDLIBC/'
|
2012-10-14 19:41:29 +00:00
|
|
|
url 'http://tedlab.mit.edu/~dr/SVDLIBC/svdlibc.tgz'
|
|
|
|
version '1.4'
|
|
|
|
sha1 '9243fbc0516af42b020423442212a025b3406dac'
|
2010-04-20 13:45:51 +00:00
|
|
|
|
2014-07-03 12:32:21 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-07-09 11:49:18 +00:00
|
|
|
revision 1
|
|
|
|
sha1 "8cb13d197689b2fb40b939ff1346ea86e6e94a8a" => :mavericks
|
|
|
|
sha1 "21889860321bb5593fe0125c4e9ffa4e0fdd1805" => :mountain_lion
|
|
|
|
sha1 "53cd8f618f8b37eddff753fa2d2d347c93f07953" => :lion
|
2014-07-03 12:32:21 +00:00
|
|
|
end
|
|
|
|
|
2010-04-20 13:45:51 +00:00
|
|
|
def install
|
|
|
|
# make only builds - no configure or install targets, have to copy files manually
|
|
|
|
system "make HOSTTYPE=target"
|
2014-07-09 11:42:47 +00:00
|
|
|
include.install "svdlib.h"
|
2010-04-20 13:45:51 +00:00
|
|
|
lib.install "target/libsvd.a"
|
|
|
|
bin.install "target/svd"
|
|
|
|
end
|
|
|
|
end
|