homebrew-core/Formula/libgetdata.rb

26 lines
714 B
Ruby
Raw Normal View History

require 'formula'
class Libgetdata < Formula
homepage 'http://getdata.sourceforge.net/'
2013-05-31 03:53:04 +00:00
url 'http://sourceforge.net/projects/getdata/files/getdata/0.8.4/getdata-0.8.4.tar.bz2'
sha1 'fe50cc6a0a0be719a6ce06acc3beea19fcda13ce'
2013-05-31 03:53:04 +00:00
option 'with-fortran', 'Build Fortran 77 bindings'
option 'lzma', 'Build with LZMA compression support'
option 'zzip', 'Build with zzip compression support'
2013-05-31 03:53:04 +00:00
depends_on 'xz' if build.include? 'lzma'
depends_on 'libzzip' if build.include? 'zzip'
def install
ENV.fortran if build.with? 'fortran'
args = %W[
--disable-dependency-tracking
--prefix=#{prefix}
]
system "./configure", *args
2013-05-31 03:53:04 +00:00
system "make"
system "make", "install"
end
end