homebrew-core/Formula/camlistore.rb

31 lines
976 B
Ruby
Raw Normal View History

class Camlistore < Formula
desc "Content-addressable multi-layer indexed storage"
homepage "https://camlistore.org"
url "https://github.com/camlistore/camlistore/archive/0.8.tar.gz"
sha256 "61b75708ae25ac4dc1c5c31c1cf8f806ccaafaaacf618caf1aa9d31489fec50f"
head "https://camlistore.googlesource.com/camlistore", :using => :git
bottle do
2015-08-28 22:57:31 +00:00
revision 1
sha256 "c2b76a901e3b55b59665099acb35d72ed7e4710add538238fa6fef149e536d4a" => :yosemite
sha256 "ed1b23e31324d8c3d6b50f080c37e9357acfb4fd52517057c29b9a75cf2de179" => :mavericks
sha256 "b180cf6c719435db63e82ba60483c443b002e9f2cbb93fa812d57ce5d9176bf8" => :mountain_lion
end
conflicts_with "hello", :because => "both install `hello` binaries"
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