d4b84d5607
Closes Homebrew/homebrew#50151. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
28 lines
923 B
Ruby
28 lines
923 B
Ruby
class GfComplete < Formula
|
|
desc "Comprehensive Library for Galois Field Arithmetic"
|
|
homepage "http://jerasure.org/"
|
|
url "http://lab.jerasure.org/jerasure/gf-complete/repository/archive.tar.gz?ref=v2.0"
|
|
sha256 "0654202fe3b0d3f8a220158699bdea722e47e7f9cbc0fd52e4857aba6a069ea9"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "7a00f4c71d8f2173a4a21f1638010ee149d927dfb0f95a901036290f9b6529b5" => :el_capitan
|
|
sha256 "fd9172068e361c01e87a7a696e2ad6e7cee18f473cdd878a249e7df99e6cdf4a" => :yosemite
|
|
sha256 "9f82edf4ac3d0207b91075dbc7656ab21f6ab82b7df12053bdbcbf9886109cd3" => :mavericks
|
|
end
|
|
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "libtool" => :build
|
|
|
|
def install
|
|
system "./autogen.sh"
|
|
system "./configure", "--disable-silent-rules",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system bin/"gf_example_3"
|
|
end
|
|
end
|