2011-06-16 20:16:48 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Generatorrunner < Formula
|
|
|
|
homepage 'http://www.pyside.org/docs/generatorrunner'
|
2012-01-08 23:35:57 +00:00
|
|
|
url 'http://pyside.org/files/generatorrunner-0.6.16.tar.bz2'
|
|
|
|
md5 'c7011b8ee08e228779a769b7cfa90f5f'
|
2011-06-16 20:16:48 +00:00
|
|
|
|
|
|
|
depends_on 'cmake' => :build
|
|
|
|
|
|
|
|
depends_on 'apiextractor'
|
|
|
|
|
|
|
|
def install
|
2012-02-13 03:12:47 +00:00
|
|
|
args = std_cmake_parameters.split
|
|
|
|
args << "-DCMAKE_INSTALL_NAME_DIR=#{HOMEBREW_PREFIX}/lib"
|
|
|
|
args << "-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON"
|
|
|
|
|
|
|
|
system "cmake", ".", *args
|
2011-06-16 20:16:48 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|