-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathchoreonoid.rb
More file actions
34 lines (29 loc) · 839 Bytes
/
choreonoid.rb
File metadata and controls
34 lines (29 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
require "formula"
class Choreonoid < Formula
url "http://choreonoid.org/_downloads/choreonoid-1.4.0.zip"
sha1 "c6c3c5fa743adfe8f239e25de768d0dd451f28cc"
homepage "http://choreonoid.org/en/"
depends_on "boost" => :build
depends_on "cmake" => :build
depends_on "doxygen" => :build
depends_on "eigen" => :build
depends_on "gettext" => :build
depends_on "pkg-config" => :build
depends_on "qt"
depends_on "glew"
depends_on "libjpeg"
depends_on "libpng"
depends_on "open-scene-graph"
depends_on "libyaml"
def install
args = std_cmake_args
args << "-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo"
args << "-DINSTALL_SDK:BOOL=ON "
args << "-DINSTALL_SDK_WITH_EXTLIBS:BOOL=ON "
system "cmake", ".", *args
system "make", "install"
end
test do
system "choreonoid", "--version"
end
end