diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mathgl.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/mathgl.rb b/Library/Formula/mathgl.rb index 25633952c..809b1bda9 100644 --- a/Library/Formula/mathgl.rb +++ b/Library/Formula/mathgl.rb @@ -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 |
