2011-06-16 20:21:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Shiboken < Formula
|
|
|
|
homepage 'http://www.pyside.org/docs/shiboken'
|
2011-09-22 07:27:41 +00:00
|
|
|
url 'http://pyside.org/files/shiboken-1.0.7.tar.bz2'
|
|
|
|
md5 'b932c66a49145894c0af556030ac90ac'
|
2011-06-16 20:21:46 +00:00
|
|
|
|
|
|
|
depends_on 'cmake' => :build
|
|
|
|
|
|
|
|
depends_on 'generatorrunner'
|
|
|
|
depends_on 'apiextractor'
|
|
|
|
depends_on 'qt'
|
|
|
|
|
|
|
|
def install
|
|
|
|
# Building the tests also runs them. Not building and running tests cuts
|
|
|
|
# install time in half.
|
|
|
|
system "cmake . #{std_cmake_parameters} -DBUILD_TESTS=OFF"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|