aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/assimp.rb
blob: 68dad144a9ce514aaddeb2c7c383e93b1523094f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'formula'

class Assimp < Formula
  url 'http://downloads.sourceforge.net/project/assimp/assimp-2.0/assimp--2.0.863-sdk.zip'
  homepage 'http://assimp.sourceforge.net/'
  md5 '9f41662501bd9d9533c4cf03b7c25d5b'
  version '2.0.863'

  depends_on 'cmake' => :build
  depends_on 'boost'

  def install
    system "cmake . #{std_cmake_parameters}"
    system "make install"
  end

  def test
    system "#{bin}/assimp version"
  end
end