2012-12-24 10:24:33 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Plplot < Formula
|
|
|
|
homepage 'http://plplot.sourceforge.net'
|
2013-10-19 18:17:36 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/plplot/plplot/5.9.10%20Source/plplot-5.9.10.tar.gz'
|
|
|
|
sha1 '10dbdfe41d71a9f51e4396729c001ed2baea22fe'
|
2012-12-24 10:24:33 +00:00
|
|
|
|
2013-10-19 18:17:36 +00:00
|
|
|
# failing wxWidget includes on snow leopard
|
|
|
|
depends_on :macos => :lion
|
2012-12-24 10:24:33 +00:00
|
|
|
depends_on 'cmake' => :build
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'pango'
|
|
|
|
|
|
|
|
def install
|
|
|
|
mkdir "plplot-build" do
|
|
|
|
system "cmake", "..", *std_cmake_args
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|