2011-11-22 04:12:22 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Pixie < Formula
|
|
|
|
homepage 'http://www.renderpixie.com/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/pixie/pixie/Pixie%202.2.6/Pixie-src-2.2.6.tgz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '651d3a76460f19cbbedb7d3d26ee9160182964d3'
|
2014-03-23 02:51:41 +00:00
|
|
|
revision 1
|
2011-11-22 04:12:22 +00:00
|
|
|
|
|
|
|
depends_on 'libtiff'
|
|
|
|
depends_on 'fltk'
|
|
|
|
depends_on 'openexr'
|
2014-03-23 02:51:41 +00:00
|
|
|
depends_on 'libpng'
|
2013-02-26 20:59:33 +00:00
|
|
|
depends_on :x11
|
2011-11-22 04:12:22 +00:00
|
|
|
|
|
|
|
def install
|
2014-02-26 05:53:57 +00:00
|
|
|
openexr = Formula["openexr"]
|
|
|
|
ilmbase = Formula["ilmbase"]
|
2011-11-22 04:12:22 +00:00
|
|
|
|
|
|
|
ENV.append "CPPFLAGS", "-I#{openexr.include}/OpenEXR -I#{ilmbase.include}/OpenEXR"
|
|
|
|
ENV.append "LDFLAGS", "-L#{openexr.lib} -L#{ilmbase.lib}"
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-openexr-prefix=#{openexr.prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/rndr", "-v"
|
2011-11-22 04:12:22 +00:00
|
|
|
end
|
|
|
|
end
|