Skip to content

Commit

Permalink
Merge pull request #1 from ColinOrionChandler/ColinOrionChandler-WCST…
Browse files Browse the repository at this point in the history
…ools395

New version 3.9.5
  • Loading branch information
ColinOrionChandler authored Dec 20, 2017
2 parents 9fbea1a + 9b5d7d1 commit 70a4b68
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions wcstools.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 70a4b68

Please sign in to comment.