homebrew-core/Formula/camlistore.rb

25 lines
570 B
Ruby
Raw Normal View History

require 'formula'
class Camlistore < Formula
homepage 'http://camlistore.org'
head 'https://camlistore.googlesource.com/camlistore', :using => :git
2014-08-16 14:06:05 +00:00
url 'https://github.com/bradfitz/camlistore/archive/0.8.tar.gz'
sha1 '076db79303fe1c62323b9dc0713ef1bfceb286b2'
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