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
|
|
|
|
|
|
|
def install
|
|
|
|
# make only builds - no configure or install targets, have to copy files manually
|
|
|
|
system "make HOSTTYPE=target"
|
|
|
|
lib.install "target/libsvd.a"
|
|
|
|
bin.install "target/svd"
|
|
|
|
end
|
|
|
|
end
|