aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/camlistore.rb
blob: 16a8f28197173c42dedad93ab45dd8f7069f7f4a (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
26
class Camlistore < Formula
  homepage 'http://camlistore.org'
  head 'https://camlistore.googlesource.com/camlistore', :using => :git
  url 'https://github.com/bradfitz/camlistore/archive/0.8.tar.gz'
  sha1 '076db79303fe1c62323b9dc0713ef1bfceb286b2'

  bottle do
    sha1 "0e23421d8dcd222bdaebbd9cdd4027f570e9c76d" => :mavericks
    sha1 "2833a6aadcb6b11fe31fc7b8adef4a104dd06023" => :mountain_lion
    sha1 "f72efd9e3c4654a0520b1ecf9991e2a23ea4cdad" => :lion
  end

  depends_on 'pkg-config' => :build
  depends_on 'go' => :build
  depends_on 'sqlite'

  def install
    system "go", "run", "make.go"
    prefix.install "bin/README"
    prefix.install "bin"
  end

  test do
    system bin/"camget", "-version"
  end
end