jerasure 2.0 (new formula)

This commit is contained in:
Andrew Chester 2015-12-26 21:26:17 -05:00 committed by Andrew Janke
parent 156d906433
commit 4a73ac3565

25
Formula/jerasure.rb Normal file
View file

@ -0,0 +1,25 @@
class Jerasure < Formula
desc "Library in C that supports erasure coding in storage applications"
homepage "http://jerasure.org/"
url "http://lab.jerasure.org/jerasure/jerasure/repository/archive.tar.gz?ref=v2.0"
version "2.0"
sha256 "61b2fbb25affeddc2d94d6f67778098597b14ff5440f39d8fba3dbdbaa6739b6"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "gf-complete"
def install
system "autoreconf", "--force", "--install"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system bin/"jerasure_01", "2", "5", "3"
end
end