2011-06-09 15:38:06 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Yarp < Formula
|
2012-02-22 05:12:27 +00:00
|
|
|
homepage 'http://yarp.it'
|
2012-07-06 15:31:11 +00:00
|
|
|
url 'http://downloads.sourceforge.net/yarp0/yarp-2.3.19.tar.gz'
|
|
|
|
md5 '7b8d10245626f8a88d8914af50e46da0'
|
2012-02-22 05:12:27 +00:00
|
|
|
|
2011-06-09 15:38:06 +00:00
|
|
|
head 'https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2'
|
|
|
|
|
2012-07-06 15:31:11 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2011-06-09 15:38:06 +00:00
|
|
|
depends_on 'cmake' => :build
|
|
|
|
depends_on 'ace'
|
|
|
|
depends_on 'gsl'
|
|
|
|
depends_on 'gtk+'
|
2012-07-06 15:31:11 +00:00
|
|
|
depends_on 'gtkmm'
|
|
|
|
depends_on 'libglademm'
|
2011-12-13 20:54:20 +00:00
|
|
|
depends_on 'sqlite'
|
|
|
|
depends_on 'readline'
|
2012-01-27 19:28:56 +00:00
|
|
|
depends_on 'jpeg'
|
2012-07-06 15:31:11 +00:00
|
|
|
depends_on :x11
|
2011-06-09 15:38:06 +00:00
|
|
|
|
|
|
|
def install
|
2012-05-22 21:37:04 +00:00
|
|
|
args = std_cmake_args + %W[
|
2012-05-15 21:15:46 +00:00
|
|
|
-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
|
2012-07-06 15:31:11 +00:00
|
|
|
-DENABLE_yarpcar_bayer_carrier=TRUE
|
|
|
|
-DUSE_LIBDC1394=FALSE
|
|
|
|
-DENABLE_yarpcar_priority_carrier=TRUE
|
|
|
|
-DCREATE_IDLS=TRUE
|
|
|
|
-DENABLE_yarpidl_thrift=TRUE
|
2012-05-15 21:15:46 +00:00
|
|
|
.]
|
|
|
|
|
|
|
|
system "cmake", *args
|
2011-06-09 15:38:06 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|