aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/shiboken.rb
diff options
context:
space:
mode:
authornibbles 2bits2012-07-10 16:29:10 -0700
committerJack Nagel2012-07-12 02:43:19 -0500
commitca777cb121e26fc41d86eab4a046e48655ab0ab5 (patch)
tree709c008a32c3e83e050f92447c6424a4c28ef3be /Library/Formula/shiboken.rb
parent2af120b2bdfb1e433a1bb83a72dee590ee016f92 (diff)
downloadhomebrew-ca777cb121e26fc41d86eab4a046e48655ab0ab5.tar.bz2
shiboken 1.1.1
Upgrade shiboken to version 1.1.1. Remove the unneeded deps on generatorrunner and apiextractor. Switch to an out of tree build with `mkdir 'macbuild' do` because it will not compile otherwise when it tries to overwrite a directory named `shiboken` with a binary named `shiboken`. This results in an `error=21` which is defined in `/usr/include/sys/errno.h` as `EISDIR`, is a directory. Tested on Lion with clang and llvm from XCode-4.3.3. Tested by building pyside-1.1.1 with shiboken-1.1.1. Closes #13330. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/shiboken.rb')
-rw-r--r--Library/Formula/shiboken.rb18
1 files changed, 12 insertions, 6 deletions
diff --git a/Library/Formula/shiboken.rb b/Library/Formula/shiboken.rb
index 5a3f0050d..89fd78ac6 100644
--- a/Library/Formula/shiboken.rb
+++ b/Library/Formula/shiboken.rb
@@ -2,16 +2,22 @@ require 'formula'
class Shiboken < Formula
homepage 'http://www.pyside.org/docs/shiboken'
- url 'http://pyside.org/files/shiboken-1.1.0.tar.bz2'
- md5 '9c9d696c8c426fb5abf28a6bd3759558'
+ url 'http://pyside.org/files/shiboken-1.1.1.tar.bz2'
+ sha1 'd24efc1e7499e9d7db4dfc85a975291e3cb3f311'
depends_on 'cmake' => :build
- depends_on 'generatorrunner'
def install
# Building the tests also runs them. Not building and running tests cuts
- # install time in half.
- system "cmake", ".", "-DBUILD_TESTS=OFF", *std_cmake_args
- system "make install"
+ # install time in half. As of 1.1.1 the install fails unless you do an
+ # out of tree build and put the source dir last in the args.
+ mkdir 'macbuild' do
+ args = std_cmake_args + %W[
+ -DBUILD_TESTS=OFF
+ ..
+ ]
+ system 'cmake', *args
+ system "make install"
+ end
end
end