aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sqlitebrowser.rb
blob: eefa29228bc3d7356b40d3284e3cbd6dbb3a1eba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Sqlitebrowser < Formula
  homepage 'http://sqlitebrowser.org'
  url 'https://github.com/sqlitebrowser/sqlitebrowser/archive/sqlb-3.1.0.tar.gz'
  sha256 '06ba56016c1f39935d8e121304e27d4d55b0bc74181e4b20155c11aa8c183aae'

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

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

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