diff options
| author | Xu Cheng | 2014-12-31 15:27:33 +0800 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-31 14:52:18 +0000 |
| commit | bc581c73ec8a6af9d7a1994c2b83cbe227730615 (patch) | |
| tree | 1123229f26b3585f520fc2ca09cc36c877c5520a /Library/Formula | |
| parent | 6b2554777a710bbc6575e45655d94d1a1fba88ce (diff) | |
| download | homebrew-bc581c73ec8a6af9d7a1994c2b83cbe227730615.tar.bz2 | |
optipng: modernize
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/optipng.rb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/optipng.rb b/Library/Formula/optipng.rb index 7400ab5e7..d60364e3e 100644 --- a/Library/Formula/optipng.rb +++ b/Library/Formula/optipng.rb @@ -1,10 +1,8 @@ -require 'formula' - class Optipng < Formula - homepage 'http://optipng.sourceforge.net/' - head 'http://hg.code.sf.net/p/optipng/mercurial', :using => :hg - url 'https://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-0.7.5/optipng-0.7.5.tar.gz' - sha1 '30b6c333d74fc0f5dc83004aace252fa3321368b' + homepage "http://optipng.sourceforge.net/" + head "http://hg.code.sf.net/p/optipng/mercurial", :using => :hg + url "https://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-0.7.5/optipng-0.7.5.tar.gz" + sha1 "30b6c333d74fc0f5dc83004aace252fa3321368b" # Fix compilation on 10.10 # http://sourceforge.net/p/optipng/bugs/47/ @@ -14,7 +12,7 @@ class Optipng < Formula system "./configure", "--with-system-zlib", "--prefix=#{prefix}", "--mandir=#{man}" - system "make install" + system "make", "install" end end |
