2011-05-14 22:53:13 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ncview < Formula
|
2011-10-13 20:14:36 +00:00
|
|
|
url 'ftp://cirrus.ucsd.edu/pub/ncview/ncview-2.1.1.tar.gz'
|
2011-05-14 22:53:13 +00:00
|
|
|
homepage 'http://meteora.ucsd.edu/~pierce/ncview_home_page.html'
|
2011-10-13 20:14:36 +00:00
|
|
|
md5 '34e25f5949af342a1783542799f51bed'
|
2011-05-14 22:53:13 +00:00
|
|
|
|
|
|
|
depends_on "netcdf"
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--x-libraries=/usr/X11/lib",
|
|
|
|
"--x-includes=/usr/X11/include"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|