homebrew-core/Formula/libgetdata.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

34 lines
1.1 KiB
Ruby

class Libgetdata < Formula
desc "Reference implementation of the Dirfile Standards"
homepage "http://getdata.sourceforge.net/"
url "https://downloads.sourceforge.net/project/getdata/getdata/0.8.6/getdata-0.8.6.tar.bz2"
sha256 "e8d333b89abc5b20e2ecc3df4de26338dce8eb2f20677e0636649c6a1ef6b5b3"
bottle do
sha1 "b61a26ca98f6c5b6ee39a0830596f444a8cc51cb" => :yosemite
sha1 "233d08e7430bccc79843d7e2b7fa52ce70077ef7" => :mavericks
sha1 "44b04b72452d00f50e600a7c2774e8dfb254ddaa" => :mountain_lion
end
option "with-fortran", "Build Fortran 77 bindings"
option "with-perl", "Build Perl binding"
option "lzma", "Build with LZMA compression support"
option "zzip", "Build with zzip compression support"
depends_on :fortran => :optional
depends_on "xz" if build.include? "lzma"
depends_on "libzzip" if build.include? "zzip"
def install
args = %W[
--disable-dependency-tracking
--prefix=#{prefix}
]
args << "--disable-perl" if build.without? "perl"
system "./configure", *args
system "make"
system "make", "install"
end
end