homebrew-core/Formula/qbs.rb

22 lines
589 B
Ruby
Raw Normal View History

require "formula"
class Qbs < Formula
homepage "http://qt-project.org/wiki/qbs"
2014-09-04 06:54:15 +00:00
url "http://download.qt-project.org/official_releases/qbs/1.3.0/qbs-1.3.0.src.tar.gz"
sha1 "27f2f0479fcb996e428bd4fa8379167e203d6d7a"
bottle do
cellar :any
sha1 "3aaeb476a15f023cebf99e87ef817fd0bfff6282" => :mavericks
sha1 "9401c0d8025745fe1daefb691f49ee8c08cc347e" => :mountain_lion
sha1 "7bec1a6ed1ff5d1798ccc1898110c38c94a68f5b" => :lion
end
depends_on "qt5"
def install
system "qmake", "qbs.pro", "-r"
system "make", "install", "INSTALL_ROOT=#{prefix}"
end
end