blob: e3d053903291e8819c71aed4b980a27fcfb14681 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
require "formula"
class OpenMesh < Formula
homepage "http://openmesh.org"
url "http://www.openmesh.org/media/Releases/3.1/OpenMesh-3.1.tar.gz"
sha1 "f73fc5a072b11028b882ce1c221602040fb23be2"
head "http://openmesh.org/svnrepo/OpenMesh/trunk/", :using => :svn
depends_on "cmake" => :build
depends_on "qt"
def install
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "make install"
end
end
test do
system "#{bin}/mconvert", "-help"
end
end
|