liberasurecode 1.1.0 (new formula)

This commit is contained in:
Andrew Chester 2015-12-26 21:27:04 -05:00 committed by Andrew Janke
parent 4a73ac3565
commit 43fba6a5a1

26
Formula/liberasurecode.rb Normal file
View file

@ -0,0 +1,26 @@
class Liberasurecode < Formula
desc "Erasure Code API library written in C with pluggable backends"
homepage "https://bitbucket.org/tsg-/liberasurecode/"
url "https://bitbucket.org/tsg-/liberasurecode/downloads/liberasurecode-1.1.0.tar.gz"
sha256 "3f8aadab190b82a3c18fdfc2c36a908a39e478d68e91f5d89a59849e91449039"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "jerasure"
def install
system "./autogen.sh"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make"
system "make", "test"
system "make", "install"
end
test do
system "true"
end
end