From 9b5d7d10caad40a0c9f8d189617cd10bbdd07fcd Mon Sep 17 00:00:00 2001 From: Colin Orion Chandler Date: Wed, 20 Dec 2017 11:38:13 -0800 Subject: [PATCH] New version 3.9.5 Old version was 3.9.2 which is no longer available (broken Formula) --- wcstools.rb | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/wcstools.rb b/wcstools.rb index 2b8540ca7e..07cbff01f0 100644 --- a/wcstools.rb +++ b/wcstools.rb @@ -1,23 +1,15 @@ class Wcstools < Formula desc "Tools for using World Coordinate Systems (WCS) in astronomical images" homepage "http://tdc-www.harvard.edu/wcstools/" - url "http://tdc-www.harvard.edu/software/wcstools/wcstools-3.9.2.tar.gz" - sha256 "481fe357cf755426fb8e25f4f890e827cce5de657a4e5044d4e31ce27bef1c8b" - - bottle do - cellar :any_skip_relocation - sha256 "e62507e22777515b183a1e9e311427033ac97d2db08b0f1c09937907f95bf4f4" => :el_capitan - sha256 "70caab977d57e6b999a4242d381d1c1619b7ef2bde5da1317bc5f8672d322651" => :yosemite - sha256 "f731758ecfb3fdf169be64b1db0c05ff16bb727aed01b76a6bdc20d2cb523890" => :mavericks - end + url "ftp://cfa-ftp.harvard.edu/pub/gsc/WCSTools/wcstools-3.9.5.tar.gz" + sha256 "b2f9be55fdec29f0c640028a9986771bfd6ab3d2f633953e4c7cc3b410e5fe9c" def install system "make", "-f", "Makefile.osx", "all" - prefix.install "bin" end test do - system "imhead 2>&1 | grep -q 'IMHEAD'" + system "#{bin}/imhead 2>&1 | grep -q 'IMHEAD'" end end