blob: 5b9d09995eb58b5ea27e6585bb6731fd24b73eb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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
|