homebrew-core/Formula/fltk.rb
Charlie Sharpsteen 29acd677ca FLTK: Update to 1.3.0
Also updated HEAD to 1.3.0-r9013.
2011-09-03 09:05:13 -07:00

22 lines
538 B
Ruby

require 'formula'
class Fltk < Formula
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-r9013.tar.bz2'
if ARGV.build_head?
md5 '9c5eb9eb8642be56cb68e7c5b1c98611'
else
md5 '44d5d7ba06afdd36ea17da6b4b703ca3'
end
depends_on 'jpeg'
def install
ENV.libpng
system "autoconf" if ARGV.build_head?
system "./configure", "--prefix=#{prefix}", "--enable-threads"
system "make install"
end
end