homebrew-core/Formula/grib-api.rb
Ryan Senkbeil e54093db21 New Formula: GRIB API
Closes Homebrew/homebrew#6480.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-02-03 21:22:20 -08:00

19 lines
455 B
Ruby

require 'formula'
class GribApi < Formula
url 'http://www.ecmwf.int/products/data/software/download/software_files/grib_api-1.9.9.tar.gz'
homepage 'http://www.ecmwf.int/products/data/software/grib_api.html'
md5 'fe6c684e4a41477f3a6e97ab8892f35d'
depends_on 'jasper'
def install
ENV.deparallelize
ENV.no_optimization
ENV.fortran
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
end
end