aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2012-07-30 20:49:36 +0100
committerMike McQuaid2012-08-08 18:19:21 +0100
commit09c572ee683a00e421dab7a19d92be965206189f (patch)
treec2ac3956c411941f1709174913474f0564050915 /Library/Formula
parentd3f9bfdb4d6eeed57b0c140d6f3278e570df0b85 (diff)
downloadhomebrew-09c572ee683a00e421dab7a19d92be965206189f.tar.bz2
libpng: revert removal for Mountain Lion.
This reverts commit 39d6ae733e37c7bb1c6be84525bc7d4690f3cfb8.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libpng.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/libpng.rb b/Library/Formula/libpng.rb
new file mode 100644
index 000000000..a13b0b70a
--- /dev/null
+++ b/Library/Formula/libpng.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Libpng < Formula
+ url 'http://downloads.sourceforge.net/project/libpng/libpng12/1.2.44/libpng-1.2.44.tar.bz2'
+ homepage 'http://www.libpng.org/pub/png/libpng.html'
+ md5 'e3ac7879d62ad166a6f0c7441390d12b'
+
+ keg_only :provided_by_osx,
+ "TODO: Which software depends on this newer version of libpng?"
+
+ def install
+ system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make install"
+ end
+end