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.
This commit is contained in:
parent
74a0437a40
commit
a804e053ab
1 changed files with 20 additions and 0 deletions
20
Formula/shiboken.rb
Normal file
20
Formula/shiboken.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue