pyxplot 0.9.2

Closes Homebrew/homebrew#19070.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Guillermo Garza 2013-04-08 22:36:10 -05:00 committed by Adam Vandenberg
parent 7c98954864
commit 7517710a36
1 changed files with 28 additions and 0 deletions

28
Formula/pyxplot.rb Normal file
View File

@ -0,0 +1,28 @@
require 'formula'
class Pyxplot < Formula
homepage 'http://pyxplot.org.uk/'
url 'http://pyxplot.org.uk/src/pyxplot_0.9.2.tar.gz'
sha1 '5f09399bd00a4ae94a07ac186cf0e8e7761de625'
depends_on :x11
depends_on :tex
depends_on 'fftw'
depends_on 'cfitsio' => :recommended
depends_on 'gv' => :recommended
depends_on 'wget' => :recommended
depends_on 'ghostscript' => 'with-x11'
depends_on 'gsl'
depends_on 'imagemagick'
depends_on 'libpng'
depends_on 'readline'
def install
# changes install directory to Cellar, per instructions
inreplace "Makefile.skel" do |s|
s.change_make_var! 'USRDIR', prefix
end
system "./configure"
system "make install"
end
end