homebrew-core/Formula/camlistore.rb
Frederick Akalin 6451bb7268 Camlistore 0.7
Closes Homebrew/homebrew#27462.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-03-12 14:36:25 -05: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.7.tar.gz'
sha1 'fae4e18f03f545f6232c24861e1f13c4bb653b34'
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