mathgl: fix SHA1, test and X11 dependency.
This commit is contained in:
parent
10b434172f
commit
b35955dc12
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue