homebrew-core/Formula/libpng.rb

26 lines
727 B
Ruby
Raw Normal View History

require 'formula'
class Libpng < Formula
homepage 'http://www.libpng.org/pub/png/libpng.html'
2013-11-28 00:47:17 +00:00
url 'http://downloads.sf.net/project/libpng/libpng15/1.5.17/libpng-1.5.17.tar.bz2'
sha1 '899d660104f3ef5c349c57faad10844b388f8442'
2012-08-11 15:02:16 +00:00
bottle do
2013-11-28 00:47:17 +00:00
cellar :any
sha1 'ebebf384caac558174c5c2865e9ef04d733b7cc9' => :mavericks
sha1 'b1e7c794cef2c2b36e774c6e1aae73330c0ba4e4' => :mountain_lion
sha1 '6999a6f3541e945f263a480d454c26384e55db18' => :lion
2012-08-11 15:02:16 +00:00
end
keg_only :provided_pre_mountain_lion
option :universal
def install
2012-08-24 17:42:48 +00:00
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end