forked from osrf/homebrew-simulation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gzweb.rb
32 lines (26 loc) · 850 Bytes
/
gzweb.rb
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
require 'formula'
class Gzweb < Formula
homepage 'http://gazebosim.org'
url 'http://bitbucket.org/osrf/gzweb/get/be8ca0f.tar.bz2'
sha1 'f532f43dc96a862846f4933726c84160fa5c2b8b'
head 'https://bitbucket.org/osrf/gzweb', :branch => 'osx', :using => :hg
version '1.2.0'
depends_on 'cmake' => :build
depends_on 'pkg-config' => :build
depends_on 'boost'
depends_on 'gazebo'
depends_on 'gts'
depends_on 'imagemagick'
depends_on 'jansson'
depends_on 'tinyxml'
def install
ENV.m64
system "./deploy.sh", " -m"
#cmake_args = std_cmake_args.select { |arg| arg.match(/CMAKE_BUILD_TYPE/).nil? }
#cmake_args << "-DCMAKE_BUILD_TYPE=Release"
#mkdir "build" do
# system "cmake", "..", *cmake_args
# system "make install"
#end
end
end