homebrew-core/Formula/open-mesh.rb
Brett Koonce 1ee0f72ad0 open-mesh 2.2
Closes Homebrew/homebrew#13775.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-30 12:38:17 -07:00

24 lines
581 B
Ruby

require 'formula'
class OpenMesh < Formula
homepage 'http://openmesh.org'
url 'http://www.openmesh.org/fileadmin/openmesh-files/2.2/OpenMesh-2.2.tar.gz'
sha1 'ee1114d7dbcf66c4717ea9b5897f5f78ec754b91'
head 'http://openmesh.org/svnrepo/OpenMesh/trunk/', :using => :svn
depends_on 'cmake' => :build
depends_on 'qt'
depends_on 'glew'
def install
mkdir 'openmesh-build' do
system "cmake -DCMAKE_INSTALL_PREFIX='#{prefix}' -DCMAKE_BUILD_TYPE=Release .."
system "make install"
end
end
def test
system "#{bin}/mconvert", '-help'
end
end