diff options
| author | Charlie Sharpsteen | 2011-06-16 13:21:46 -0700 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-08-25 17:47:22 -0700 |
| commit | c429406c90cef20195d8b21df008dbd65c020145 (patch) | |
| tree | 150241963cce78055ca0e4f9a176c6cf86a6715e /Library/Formula/shiboken.rb | |
| parent | 4506cb590db6e7d7ee5ad1265b3044778f8db4b1 (diff) | |
| download | homebrew-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.rb | 20 |
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 |
