libpng formula

Signed-off-by: Adam Vandenberg

Cleaned up formula.

Signed-off-by: Max Howell <max@methylblue.com>

Fixes Homebrew/homebrew#89
This commit is contained in:
Boris Gordon 2009-09-26 02:17:12 +10:00 committed by Max Howell
parent eaa74367fb
commit c0f484b08a

12
Formula/libpng.rb Normal file
View file

@ -0,0 +1,12 @@
require 'brewkit'
class Libpng <Formula
@url='http://prdownloads.sourceforge.net/libpng/libpng-1.2.40.tar.gz'
@homepage='http://www.libpng.org/pub/png/libpng.html'
@md5='a2f6808735bf404967f81519a967fb2a'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end