aboutsummaryrefslogtreecommitdiffstats
path: root/Formula/qt.rb
diff options
context:
space:
mode:
authorMax Howell2009-06-04 19:21:19 +0100
committerMax Howell2009-06-04 19:36:58 +0100
commitcc50131728fc20016e9cdb8383c8faf723448f51 (patch)
tree0e7eaa43b3dabfdd3473ccbbe235e46bad550a21 /Formula/qt.rb
parent84ad47bc3c8029847e5c41ab4646a6b9455b370a (diff)
downloadbrew-cc50131728fc20016e9cdb8383c8faf723448f51.tar.bz2
Created /Library moved brew tool to /bin
Moved Forumla and Cellar/homebrew into Library. This way the homebrew core files are more sensibly placed, Cellar is more internally consistent and only generated. And Homebrew is ready for use straight out of the tarball.
Diffstat (limited to 'Formula/qt.rb')
-rw-r--r--Formula/qt.rb43
1 files changed, 0 insertions, 43 deletions
diff --git a/Formula/qt.rb b/Formula/qt.rb
deleted file mode 100644
index 9ce82d600..000000000
--- a/Formula/qt.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-require 'brewkit'
-
-class Qt <Formula
- @url='http://get.qtsoftware.com/qt/source/qt-mac-opensource-src-4.5.1.tar.gz'
- @md5='9fc0e96197df6db48a0628ac4d63e0dd'
- @homepage='http://www.qtsoftware.com'
-
- def install
- if version == '4.5.1'
- # Reported 6 months ago (at 4.5.0-rc1), still not fixed in the this release! :(
- makefiles=['plugins/sqldrivers/sqlite/sqlite.pro', '3rdparty/webkit/WebCore/WebCore.pro']
- makefiles.each { |makefile| `echo 'LIBS += -lsqlite3' >> src/#{makefile}` }
- end
-
- configure=<<-EOS
- ./configure -prefix '#{prefix}'
- -system-sqlite -system-libpng -system-zlib
- -nomake demos -nomake examples -no-qt3support
- -release -cocoa -arch x86
- -confirm-license -opensource
- -I /usr/X11R6/include -L /usr/X11R6/lib
- -fast
- EOS
-
- system configure.gsub("\n", ' ').strip.squeeze(' ')
- system "make install"
-
- # fuck weird prl files
- `find #{lib} -name \*.prl -delete`
- # fuck crazy disk usage
- `rm -r #{prefix+'doc'+'html'} #{prefix+'doc'+'src'}`
- # wtf are these anyway?
- `rm -r #{bin}/Assistant_adp.app #{bin}/pixeltool.app #{bin}/qhelpconverter.app`
- # we specified no debug already! :P
- `rm #{lib}/libQtUiTools_debug.a`
- # meh
- `rm #{prefix}/q3porting.xml`
- end
-
- def caveats
- "We agreed to the Qt opensource license for you.\nIf this is unacceptable you should uninstall :P"
- end
-end \ No newline at end of file