aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/shiboken.rb
diff options
context:
space:
mode:
authorCharlie Sharpsteen2011-06-16 13:21:46 -0700
committerCharlie Sharpsteen2011-08-25 17:47:22 -0700
commitc429406c90cef20195d8b21df008dbd65c020145 (patch)
tree150241963cce78055ca0e4f9a176c6cf86a6715e /Library/Formula/shiboken.rb
parent4506cb590db6e7d7ee5ad1265b3044778f8db4b1 (diff)
downloadhomebrew-c429406c90cef20195d8b21df008dbd65c020145.tar.bz2
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.
Diffstat (limited to 'Library/Formula/shiboken.rb')
-rw-r--r--Library/Formula/shiboken.rb20
1 files changed, 20 insertions, 0 deletions
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