diff options
| author | Adam Vandenberg | 2012-01-02 14:42:29 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-01-02 14:42:29 -0800 |
| commit | 0401df33b231315004a7a85220de061e4082230b (patch) | |
| tree | f5c64a381ce36de6aebfa1418a8df252101d59fe /Library/Formula | |
| parent | aa570d293091268112f02e059d553b5552d6958a (diff) | |
| download | homebrew-0401df33b231315004a7a85220de061e4082230b.tar.bz2 | |
cfitsio: fix checksum
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cfitsio.rb | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Library/Formula/cfitsio.rb b/Library/Formula/cfitsio.rb index dd8cac5f8..3683d2d2f 100644 --- a/Library/Formula/cfitsio.rb +++ b/Library/Formula/cfitsio.rb @@ -9,13 +9,11 @@ end class Cfitsio < Formula url 'ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3290.tar.gz' homepage 'http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html' - md5 'd0d460c5e314a15fa6905b2096159827' + md5 'bba93808486cf5edac236a941283b3c3' version '3.29' def options - [ - ['--with-examples', "Compile and install example programs from http://heasarc.gsfc.nasa.gov/docs/software/fitsio/cexamples.html as well as fpack and funpack"] - ] + [['--with-examples', "Compile and install example programs."]] end def install @@ -33,9 +31,8 @@ class Cfitsio < Formula mkdir 'bin' Dir.glob('*.c').each do |f| # compressed_fits.c does not work (obsolete function call) - if f != 'compress_fits.c' - system "#{ENV.cc} #{f} -I#{include} -L#{lib} -lcfitsio -lm -o bin/#{f.sub('.c','')}" - end + next if f == 'compress_fits.c' + system "#{ENV.cc} #{f} -I#{include} -L#{lib} -lcfitsio -lm -o bin/#{f.sub('.c','')}" end bin.install Dir['bin/*'] end |
