aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/plplot.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/plplot.rb b/Library/Formula/plplot.rb
new file mode 100644
index 000000000..decd2f47d
--- /dev/null
+++ b/Library/Formula/plplot.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Plplot < Formula
+ homepage 'http://plplot.sourceforge.net'
+ url 'http://sourceforge.net/projects/plplot/files/plplot/5.9.9%20Source/plplot-5.9.9.tar.gz'
+ sha1 '3df8fc21723e14af62fea4098e4ef019e1b52a54'
+
+ 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