aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sqlitebrowser.rb
blob: ee351fc6eae6c2a50581d17483a3fca253985631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'formula'

class Sqlitebrowser < Formula
  homepage 'http://sqlitebrowser.org'
  url 'https://github.com/sqlitebrowser/sqlitebrowser/archive/v3.3.0.tar.gz'
  sha1 '9585fd37465b844d5458152883b6305c6e3e8530'

  head 'https://github.com/sqlitebrowser/sqlitebrowser.git'

  bottle do
    cellar :any
    sha1 "750444aa3b7f137641c34d9bc69610bb1eca74ed" => :mavericks
    sha1 "29dfedf65d80f50f2a3586a0a4e9e3e40a261b86" => :mountain_lion
    sha1 "ea3855b388a381a7cf281b1155841df9aa02c687" => :lion
  end

  depends_on 'qt'
  depends_on 'cmake' => :build
  depends_on 'sqlite' => 'with-functions'

  def install
    system "cmake", ".", *std_cmake_args
    system 'make install'
  end
end