2013-09-09 00:00:29 +00:00
|
|
|
class Camlistore < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Content-addressable multi-layer indexed storage"
|
2015-08-28 22:26:54 +00:00
|
|
|
homepage "https://camlistore.org"
|
2015-08-28 15:56:02 +00:00
|
|
|
url "https://github.com/camlistore/camlistore/archive/0.8.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "61b75708ae25ac4dc1c5c31c1cf8f806ccaafaaacf618caf1aa9d31489fec50f"
|
2015-08-28 15:56:02 +00:00
|
|
|
head "https://camlistore.googlesource.com/camlistore", :using => :git
|
2013-09-09 00:00:29 +00:00
|
|
|
|
2014-08-16 14:20:53 +00:00
|
|
|
bottle do
|
2015-08-28 22:57:31 +00:00
|
|
|
revision 1
|
|
|
|
sha256 "c2b76a901e3b55b59665099acb35d72ed7e4710add538238fa6fef149e536d4a" => :yosemite
|
|
|
|
sha256 "ed1b23e31324d8c3d6b50f080c37e9357acfb4fd52517057c29b9a75cf2de179" => :mavericks
|
|
|
|
sha256 "b180cf6c719435db63e82ba60483c443b002e9f2cbb93fa812d57ce5d9176bf8" => :mountain_lion
|
2014-08-16 14:20:53 +00:00
|
|
|
end
|
|
|
|
|
2015-08-28 15:56:02 +00:00
|
|
|
conflicts_with "hello", :because => "both install `hello` binaries"
|
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "go" => :build
|
|
|
|
depends_on "sqlite"
|
2013-09-09 00:00:29 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "go", "run", "make.go"
|
|
|
|
prefix.install "bin/README"
|
|
|
|
prefix.install "bin"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"camget", "-version"
|
|
|
|
end
|
|
|
|
end
|