diff options
| author | Adam Vandenberg | 2012-08-22 21:37:04 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-22 21:37:04 -0700 |
| commit | e2a55942c1cdad7d6174f51088840b4b4afbc1eb (patch) | |
| tree | 0d606c38a9b44bcd9adb5bcba295197dca128fa8 /Library | |
| parent | 13a62cc1d7dcba4576c177f6f9695347c02ba289 (diff) | |
| download | homebrew-e2a55942c1cdad7d6174f51088840b4b4afbc1eb.tar.bz2 | |
cfitsio: use new dsl
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/cfitsio.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/cfitsio.rb b/Library/Formula/cfitsio.rb index c2dee85c8..7f818dccc 100644 --- a/Library/Formula/cfitsio.rb +++ b/Library/Formula/cfitsio.rb @@ -12,16 +12,14 @@ class Cfitsio < Formula sha1 '35360dccc69dc5f12efb6fc9096ad951b59244d5' version '3.310' - def options - [['--with-examples', "Compile and install example programs."]] - end + option 'with-examples', "Compile and install example programs" def install system "./configure", "--prefix=#{prefix}" system "make shared" system "make install" - if ARGV.include? '--with-examples' + if build.include? 'with-examples' system "make fpack funpack" bin.install 'fpack', 'funpack' |
