diff options
| author | Mike McQuaid | 2012-09-02 01:06:45 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2012-09-04 19:44:43 -0700 |
| commit | 86beec0762769b719eb74bd76a68daa8ad9da01d (patch) | |
| tree | 4caa2805d718d808627854e0359ed4b26f1f360a /Library/Formula | |
| parent | 7354edfa7b4e5b9aead7e8562ee61239a0b42a9c (diff) | |
| download | homebrew-86beec0762769b719eb74bd76a68daa8ad9da01d.tar.bz2 | |
mathgl: fix SHA1, test and X11 dependency.
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 |
