aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/yarp.rb
blob: 6fba453d29030274b13f9e5e1f0c87179df86f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'formula'

class Yarp < Formula
  url 'http://downloads.sourceforge.net/yarp0/yarp-2.3.15.tar.gz'
  md5 '58912d7d1a6ed3347fc15ef7236899e1'
  homepage 'http://yarp.it'
  head 'https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2'

  depends_on 'cmake' => :build

  depends_on 'ace'
  depends_on 'gsl'
  depends_on 'gtk+'
  depends_on 'sqlite'
  depends_on 'readline'
  depends_on 'jpeg'

  def install
    system "cmake . #{std_cmake_parameters} -DCREATE_LIB_MATH=TRUE -DCREATE_GUIS=TRUE -DCREATE_YMANAGER=TRUE -DYARP_USE_SYSTEM_SQLITE=TRUE -DCREATE_OPTIONAL_CARRIERS=TRUE -DENABLE_yarpcar_mjpeg_carrier=TRUE -DENABLE_yarpcar_rossrv_carrier=TRUE -DENABLE_yarpcar_tcpros_carrier=TRUE -DENABLE_yarpcar_xmlrpc_carrier=TRUE"
    system "make install"
  end
end