2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-25 16:17:12 +00:00
|
|
|
|
|
|
|
class Libpng <Formula
|
2010-04-26 16:28:09 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/libpng/03-libpng-previous/1.2.43/libpng-1.2.43.tar.bz2'
|
|
|
|
homepage 'http://www.libpng.org/pub/png/libpng.html'
|
|
|
|
md5 '976909556e6613804d810405c1f72ce6'
|
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
|