mathgl: fix SHA1, test and X11 dependency.

This commit is contained in:
Mike McQuaid 2012-09-02 01:06:45 -07:00
parent 10b434172f
commit b35955dc12

View file

@ -6,7 +6,7 @@ class Mathgl < Formula
sha1 '16b9ab58e654c5b91374f8a35eafc33630d7f5c0'
depends_on 'gsl'
depends_on :x11
depends_on :libpng
def install
ENV['LIBS'] = '-lz'
@ -20,4 +20,10 @@ class Mathgl < Formula
system "make"
system "make install"
end
def test
mktemp do
system "#{bin}/mgl_example"
end
end
end