2011-06-16 20:21:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Shiboken < Formula
|
|
|
|
homepage 'http://www.pyside.org/docs/shiboken'
|
2012-05-03 22:48:09 +00:00
|
|
|
url 'http://pyside.org/files/shiboken-1.1.0.tar.bz2'
|
|
|
|
md5 '9c9d696c8c426fb5abf28a6bd3759558'
|
2011-06-16 20:21:46 +00:00
|
|
|
|
|
|
|
depends_on 'cmake' => :build
|
2012-05-03 22:48:09 +00:00
|
|
|
depends_on 'generatorrunner'
|
2011-06-16 20:21:46 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
# Building the tests also runs them. Not building and running tests cuts
|
|
|
|
# install time in half.
|
2012-05-22 21:37:04 +00:00
|
|
|
system "cmake", ".", "-DBUILD_TESTS=OFF", *std_cmake_args
|
2012-05-03 22:48:09 +00:00
|
|
|
system "make install"
|
2011-06-16 20:21:46 +00:00
|
|
|
end
|
|
|
|
end
|