homebrew-core/Formula/camlistore.rb
Jason Whittle ca73cd463f camlistore: add sqlite dependency.
Closes Homebrew/homebrew#25188.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-12-14 09:41:48 -08:00

24 lines
570 B
Ruby

require 'formula'
class Camlistore < Formula
homepage 'http://camlistore.org'
head 'https://camlistore.googlesource.com/camlistore', :using => :git
url 'https://github.com/bradfitz/camlistore/archive/0.5.tar.gz'
sha1 'f089410910cdf8c79ab2cf5ac377f2ccbaafe618'
depends_on 'pkg-config' => :build
depends_on 'go' => :build
depends_on 'sqlite'
def install
ENV['GIT_DIR'] = cached_download+".git"
system "go", "run", "make.go"
prefix.install "bin/README"
prefix.install "bin"
end
test do
system bin/"camget", "-version"
end
end