8c29982153
This reverts commit adee5315265cc46aa6a3057071527abb16e1cd94. Turns out one of the "other things" is a dealbreaker. We only create kegs using a formula's canonical name. However, we do not check that this is the case when mapping existing kegs back to formula objects, and thus a keg with a name that happens to be an alias can fool Homebrew into thinking the canonically-named keg exists. So anything that enumerates kegs and then tries to do stuff with the resulting formula objects will just break. This is obviously worse than the debugger being broken, so reverting this for the time being.
43 lines
1.1 KiB
Ruby
43 lines
1.1 KiB
Ruby
require 'formula'
|
|
|
|
class Yarp < Formula
|
|
homepage 'http://yarp.it'
|
|
url 'http://downloads.sourceforge.net/yarp0/yarp-2.3.19.tar.gz'
|
|
sha1 'be2954a7ef7b1cb0bbb2ec1ac07371b5847a9ce6'
|
|
|
|
head 'https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'cmake' => :build
|
|
depends_on 'ace'
|
|
depends_on 'gsl'
|
|
depends_on 'gtk+'
|
|
depends_on 'gtkmm'
|
|
depends_on 'libglademm'
|
|
depends_on 'sqlite'
|
|
depends_on 'readline'
|
|
depends_on 'jpeg'
|
|
depends_on :x11
|
|
|
|
def install
|
|
args = std_cmake_args + %W[
|
|
-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
|
|
-DENABLE_yarpcar_bayer_carrier=TRUE
|
|
-DUSE_LIBDC1394=FALSE
|
|
-DENABLE_yarpcar_priority_carrier=TRUE
|
|
-DCREATE_IDLS=TRUE
|
|
-DENABLE_yarpidl_thrift=TRUE
|
|
.]
|
|
|
|
system "cmake", *args
|
|
system "make install"
|
|
end
|
|
end
|