38 lines
2.0 KiB
Ruby
38 lines
2.0 KiB
Ruby
class Pelikan < Formula
|
|
desc "Production-ready cache services"
|
|
homepage "https://twitter.github.io/pelikan"
|
|
url "https://github.com/twitter/pelikan/archive/0.1.2.tar.gz"
|
|
sha256 "c105fdab8306f10c1dfa660b4e958ff6f381a5099eabcb15013ba42e4635f824"
|
|
license "Apache-2.0"
|
|
head "https://github.com/twitter/pelikan.git", branch: "master"
|
|
|
|
bottle do
|
|
sha256 cellar: :any_skip_relocation, arm64_ventura: "395c03af1bab96be9a15937c4e3c997b8755a53abda5ab1f53227ebbc2cc6f7a"
|
|
sha256 cellar: :any_skip_relocation, arm64_monterey: "a20c89a4c6828864b1b8d5361b97357795ef49ef517668237211c00a92bb0d80"
|
|
sha256 cellar: :any_skip_relocation, arm64_big_sur: "22f695e695353e9317b34caf92789363464100d5ef63a7883a393767030e9951"
|
|
sha256 cellar: :any_skip_relocation, ventura: "5252a921d70fa4834ab331666620c1296c8af4fe7bd90817b27dc39e21780e3f"
|
|
sha256 cellar: :any_skip_relocation, monterey: "52559baeef959550027d8d764a2a99d831d0b4a4d3041cb1e76a9c04b67c137d"
|
|
sha256 cellar: :any_skip_relocation, big_sur: "98b69e12d5ba1d3e8824e87f3fa5773a3bf7ba63dc2c32c73f07839b2c9d0e81"
|
|
sha256 cellar: :any_skip_relocation, catalina: "61441ad2aeeb6d14ab8fa6183944c1f4ab0733776e3f810ad17b80faf2f25faf"
|
|
sha256 cellar: :any_skip_relocation, mojave: "a313660eb003974995537cef07e391d3051218f7c65f3326c270b68f0855a59f"
|
|
sha256 cellar: :any_skip_relocation, high_sierra: "a80ae1b508d4eae75d03fc5ad07477039a50a37419681b2472af4f9dc5f240ea"
|
|
sha256 cellar: :any_skip_relocation, sierra: "37a675674b7ef33f07099029042f56c054f09b5d22400010d583fbfa41c0ce50"
|
|
sha256 cellar: :any_skip_relocation, el_capitan: "e314ce6288bf76e271bf69ce844e2e846b16cad68ce635faf1e5130c3c6911d0"
|
|
sha256 cellar: :any_skip_relocation, x86_64_linux: "313be126d5718e0053ce871bbc09446325c24d3bce02117d940dcb45a922c99a"
|
|
end
|
|
|
|
depends_on "cmake" => :build
|
|
|
|
def install
|
|
mkdir "_build" do
|
|
system "cmake", "..", *std_cmake_args
|
|
system "make"
|
|
system "make", "install"
|
|
end
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/pelikan_twemcache", "-c"
|
|
end
|
|
end
|