From 6bbce227f1c365506de7794ddefd1f063caee95f Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Mon, 29 Aug 2011 12:06:21 -0700 Subject: FLTK: Update to 1.3.0 Also updated HEAD to 1.3.0-r9013. --- Library/Formula/fltk.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Library') diff --git a/Library/Formula/fltk.rb b/Library/Formula/fltk.rb index 50038ff83..15a455b17 100644 --- a/Library/Formula/fltk.rb +++ b/Library/Formula/fltk.rb @@ -1,21 +1,21 @@ require 'formula' class Fltk < Formula - url 'http://ftp2.easysw.com/pub/fltk/1.1.10/fltk-1.1.10-source.tar.gz' + url 'http://ftp2.easysw.com/pub/fltk/1.3.0/fltk-1.3.0-source.tar.gz' homepage 'http://www.fltk.org/' - head 'http://ftp.easysw.com/pub/fltk/snapshots/fltk-1.3.x-r8411.tar.bz2' + head 'http://ftp.easysw.com/pub/fltk/snapshots/fltk-1.3.x-r9013.tar.bz2' if ARGV.build_head? - md5 '0c44ccd5d9b86c7afb2f402d5e0b56db' - depends_on 'jpeg' + md5 '9c5eb9eb8642be56cb68e7c5b1c98611' else - md5 'e6378a76ca1ef073bcb092df1ef3ba55' + md5 '44d5d7ba06afdd36ea17da6b4b703ca3' end + depends_on 'jpeg' + def install - if ARGV.build_head? - ENV.libpng - system "autoconf" - end + ENV.libpng + system "autoconf" if ARGV.build_head? + system "./configure", "--prefix=#{prefix}", "--enable-threads" system "make install" end -- cgit v1.2.3