homebrew-core/Formula/camlistore.rb
Luke Chadwick caa2c1ed73 camlistore 0.6
Closes Homebrew/homebrew#25480.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-12-27 10:04:22 +00: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.6.tar.gz'
sha1 'ca2a530fb2eb39a6cecf2f60e290934a9b6414f4'
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