homebrew-core/Formula/gf-complete.rb
Andrea d4b84d5607 gf-complete: remove redundant version statement.
Closes Homebrew/homebrew#50151.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-03-19 19:13:35 +08:00

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