montage 4.0
Closes Homebrew/homebrew#49621. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
baee9b69b4
commit
6878ba24fc
1 changed files with 6 additions and 20 deletions
|
@ -1,36 +1,22 @@
|
||||||
class Montage < Formula
|
class Montage < Formula
|
||||||
desc "Toolkit for assembling FITS images into custom mosaics"
|
desc "Toolkit for assembling FITS images into custom mosaics"
|
||||||
homepage "http://montage.ipac.caltech.edu"
|
homepage "http://montage.ipac.caltech.edu"
|
||||||
url "http://montage.ipac.caltech.edu/download/Montage_v3.3.tar.gz"
|
url "http://montage.ipac.caltech.edu/download/Montage_v4.0.tar.gz"
|
||||||
sha256 "5403921ec18e29c2a70c1d42fc45b5a982b8a11fe5aa3cd3aa9fc814fcc16a11"
|
sha256 "de143e4d4b65086f04bb75cf482dfa824965a5a402f3431f9bceb395033df5fe"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "make"
|
system "make"
|
||||||
bin.install Dir["bin/m*"]
|
bin.install Dir["bin/m*"]
|
||||||
end
|
end
|
||||||
|
|
||||||
# fix function not being declared void
|
|
||||||
patch :DATA
|
|
||||||
|
|
||||||
def caveats; <<-EOS.undent
|
def caveats; <<-EOS.undent
|
||||||
Montage is under the Caltech/JPL non-exclusive, non-commercial software
|
Montage is under the Caltech/JPL non-exclusive, non-commercial software
|
||||||
licence agreement available at:
|
licence agreement available at:
|
||||||
http://montage.ipac.caltech.edu/docs/download.html
|
http://montage.ipac.caltech.edu/docs/download.html
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
__END__
|
test do
|
||||||
diff --git a/lib/src/two_plane_v1.1/initdistdata.c b/lib/src/two_plane_v1.1/initdistdata.c
|
system bin/"mHdr", "m31", "1", "template.hdr"
|
||||||
index 0a75b24..8c1b9bb 100644
|
end
|
||||||
--- a/lib/src/two_plane_v1.1/initdistdata.c
|
end
|
||||||
+++ b/lib/src/two_plane_v1.1/initdistdata.c
|
|
||||||
@@ -21,7 +21,7 @@ int openfitsfile(char *fitsfilename)
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
-closefitsfile()
|
|
||||||
+void closefitsfile()
|
|
||||||
{
|
|
||||||
int I_fits_return_status=0;
|
|
||||||
fits_close_file(ffp_FITS_In, &I_fits_return_status);
|
|
||||||
|
|
Loading…
Reference in a new issue