aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBoris Gordon2009-09-26 02:17:12 +1000
committerMax Howell2009-10-12 22:41:16 +0100
commit70a3ddc3a529db1b2d8c283b4cfa3bb6981818bc (patch)
treec6d5704dbe7b9300866b58c9e24bf39017abcd99 /Library/Formula
parenta051c1191bff59c3f43600a8750e7a93b0e87389 (diff)
downloadhomebrew-70a3ddc3a529db1b2d8c283b4cfa3bb6981818bc.tar.bz2
libpng formula
Signed-off-by: Adam Vandenberg Cleaned up formula. Signed-off-by: Max Howell <max@methylblue.com> Fixes #89
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libpng.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/libpng.rb b/Library/Formula/libpng.rb
new file mode 100644
index 000000000..be4acec65
--- /dev/null
+++ b/Library/Formula/libpng.rb
@@ -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