homebrew-core/Formula/qt-mobility.rb
Till Adam 08e3807734 qt-mobility: use upstreamed case-sensitive patch.
References Homebrew/homebrew#12220.
Closes Homebrew/homebrew#17230.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-01-21 16:28:54 +00:00

21 lines
571 B
Ruby

require 'formula'
class QtMobility < Formula
homepage 'http://qt.nokia.com/products/qt-addons/mobility'
url 'git://gitorious.org/qt-mobility/qt-mobility.git', :revision => '6a75140'
version '1.2.0-6a75140'
depends_on 'qt'
def install
system "./configure", "-release", "-prefix", prefix, "-qmake-exec", "#{HOMEBREW_PREFIX}/bin/qmake"
system "make"
ENV.j1
system "make install"
# Move all .apps out of the "bin/" and into the prefix (like qt formula)
Pathname.glob(bin + '*.app').each do |path|
mv path, prefix
end
end
end