aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/svdlibc.rb
blob: 20f8b6734e605ad9fb8eff6bce12d6749eda38bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'formula'

class Svdlibc < Formula
  homepage 'http://tedlab.mit.edu/~dr/SVDLIBC/'
  url 'http://tedlab.mit.edu/~dr/SVDLIBC/svdlibc.tgz'
  version '1.4'
  sha1 '9243fbc0516af42b020423442212a025b3406dac'

  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