2011-09-26 20:55:51 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Assimp < Formula
|
|
|
|
homepage 'http://assimp.sourceforge.net/'
|
2012-02-22 05:12:27 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/assimp/assimp-2.0/assimp--2.0.863-sdk.zip'
|
|
|
|
md5 '9f41662501bd9d9533c4cf03b7c25d5b'
|
2011-09-26 20:55:51 +00:00
|
|
|
|
|
|
|
depends_on 'cmake' => :build
|
|
|
|
depends_on 'boost'
|
|
|
|
|
|
|
|
def install
|
2012-02-22 05:12:27 +00:00
|
|
|
system "cmake #{std_cmake_parameters} ."
|
2011-09-26 20:55:51 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2012-02-09 06:00:28 +00:00
|
|
|
system "#{bin}/assimp version"
|
2011-09-26 20:55:51 +00:00
|
|
|
end
|
|
|
|
end
|