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

class Yarp < Formula
  url 'http://downloads.sourceforge.net/yarp0/yarp-2.3.8.tar.gz'
  md5 '5a932488be65aa4318f5c7f4aaf9ff50'
  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+'

  def install
    system "cmake . #{std_cmake_parameters} -DCREATE_LIB_MATH=TRUE -DCREATE_GUIS=TRUE -DCREATE_YARPSERVER3=TRUE"
    system "make install"
  end
end