aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorCharlie Sharpsteen2012-05-03 15:48:09 -0700
committerCharlie Sharpsteen2012-05-03 15:48:51 -0700
commit859db255225cafef4813745643b0e6ef9ecd8a66 (patch)
tree2417687bf4747281267f70885cb8c1422cdfe02a /Library/Formula
parentea1a9e603abe3dab90bf5b157d2614cf58e2cc8e (diff)
downloadhomebrew-859db255225cafef4813745643b0e6ef9ecd8a66.tar.bz2
Revert "ENV.rb: Always return integers from make_jobs"
This reverts commit ea1a9e603abe3dab90bf5b157d2614cf58e2cc8e. Argh. Unrelated PySide changes slipped in.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pyside.rb13
-rw-r--r--Library/Formula/shiboken.rb13
2 files changed, 10 insertions, 16 deletions
diff --git a/Library/Formula/pyside.rb b/Library/Formula/pyside.rb
index 29355b2fb..b3aa9d915 100644
--- a/Library/Formula/pyside.rb
+++ b/Library/Formula/pyside.rb
@@ -10,8 +10,8 @@ end
class Pyside < Formula
homepage 'http://www.pyside.org'
- url 'http://www.pyside.org/files/pyside-latest.tar.bz2'
- md5 '0176d3746074afe47373d7302e1b4501'
+ url 'http://www.pyside.org/files/pyside-qt4.7+1.1.0.tar.bz2'
+ md5 '233f0c6d2b3daf58cf88877d7f74557b'
depends_on 'cmake' => :build
depends_on 'shiboken'
@@ -23,12 +23,9 @@ class Pyside < Formula
qt = Formula.factory 'qt'
ENV.append_to_cflags "-F#{qt.prefix}/Frameworks"
- mkdir 'build'
- chdir 'build' do
- # Also need `ALTERNATIVE_QT_INCLUDE_DIR` to prevent "missing file" errors.
- system "cmake .. #{std_cmake_parameters} -DALTERNATIVE_QT_INCLUDE_DIR=#{qt.prefix}/Frameworks -DSITE_PACKAGE=#{site_package_dir} -DBUILD_TESTS=NO"
- system 'make install'
- end
+ # Also need `ALTERNATIVE_QT_INCLUDE_DIR` to prevent "missing file" errors.
+ system "cmake #{std_cmake_parameters} -DALTERNATIVE_QT_INCLUDE_DIR=#{qt.prefix}/Frameworks -DSITE_PACKAGE=#{site_package_dir} -DBUILD_TESTS=NO ."
+ system 'make install'
end
def caveats
diff --git a/Library/Formula/shiboken.rb b/Library/Formula/shiboken.rb
index 7f2ef1809..d23473522 100644
--- a/Library/Formula/shiboken.rb
+++ b/Library/Formula/shiboken.rb
@@ -2,19 +2,16 @@ require 'formula'
class Shiboken < Formula
homepage 'http://www.pyside.org/docs/shiboken'
- url 'http://www.pyside.org/files/shiboken-latest.tar.bz2'
- md5 'fa451b6c4f3e06cce283a84550a96fd2'
+ url 'http://pyside.org/files/shiboken-1.1.0.tar.bz2'
+ md5 '9c9d696c8c426fb5abf28a6bd3759558'
depends_on 'cmake' => :build
- depends_on 'qt'
+ depends_on 'generatorrunner'
def install
# Building the tests also runs them. Not building and running tests cuts
# install time in half.
- mkdir 'build'
- chdir 'build' do
- system "cmake .. #{std_cmake_parameters} -DBUILD_TESTS=OFF"
- system "make install"
- end
+ system "cmake #{std_cmake_parameters} -DBUILD_TESTS=OFF ."
+ system "make install"
end
end