aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fltk.rb18
1 files changed, 9 insertions, 9 deletions
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