2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-25 16:17:12 +00:00
|
|
|
|
|
|
|
class Libpng <Formula
|
2010-12-05 08:46:49 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/libpng/libpng-previous/1.2.44/libpng-1.2.44.tar.bz2'
|
2010-04-26 16:28:09 +00:00
|
|
|
homepage 'http://www.libpng.org/pub/png/libpng.html'
|
2010-08-29 18:43:51 +00:00
|
|
|
md5 'e3ac7879d62ad166a6f0c7441390d12b'
|
2009-09-25 16:17:12 +00:00
|
|
|
|
2010-04-07 05:58:35 +00:00
|
|
|
keg_only :provided_by_osx
|
2009-10-12 19:48:41 +00:00
|
|
|
|
2009-09-25 16:17:12 +00:00
|
|
|
def install
|
2010-04-26 16:28:09 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
2009-09-25 16:17:12 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|