From c429406c90cef20195d8b21df008dbd65c020145 Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Thu, 16 Jun 2011 13:21:46 -0700 Subject: New formula for Shiboken Shiboken is a plugin for GeneratorRunner that handles the generation of CPython bindings to C++ libraries. Shiboken is used to compile PySide. --- Library/Formula/shiboken.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Library/Formula/shiboken.rb (limited to 'Library/Formula') diff --git a/Library/Formula/shiboken.rb b/Library/Formula/shiboken.rb new file mode 100644 index 000000000..2a1834c57 --- /dev/null +++ b/Library/Formula/shiboken.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Shiboken < Formula + homepage 'http://www.pyside.org/docs/shiboken' + url 'http://pyside.org/files/shiboken-1.0.6.tar.bz2' + md5 'd52f0dfdc1a63534085547946e4b5fff' + + 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 -- cgit v1.2.3